public static enum UndefinedClusterViewException.Reason extends Enum<UndefinedClusterViewException.Reason>
Enum Constant and Description |
---|
ISOLATED_FROM_TOPOLOGY
used when the local instance is isolated from the topology
(which is noticed by an established view that does not include
the local instance)
|
NO_ESTABLISHED_VIEW
used when there is no established view yet
(happens on a fresh installation)
|
REPOSITORY_EXCEPTION
used when we couldn't reach the repository
|
Modifier and Type | Method and Description |
---|---|
static UndefinedClusterViewException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UndefinedClusterViewException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UndefinedClusterViewException.Reason ISOLATED_FROM_TOPOLOGY
public static final UndefinedClusterViewException.Reason NO_ESTABLISHED_VIEW
public static final UndefinedClusterViewException.Reason REPOSITORY_EXCEPTION
public static UndefinedClusterViewException.Reason[] values()
for (UndefinedClusterViewException.Reason c : UndefinedClusterViewException.Reason.values()) System.out.println(c);
public static UndefinedClusterViewException.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 The Apache Software Foundation. All rights reserved.