public static enum ManagementTransitionInfo.ManagementTransitionMode extends java.lang.Enum<ManagementTransitionInfo.ManagementTransitionMode>
Enum Constant and Description |
---|
CREATING
Item is being created fresh, for the first time
|
DESTROYING
Item is being destroyed / stopping permanently
|
REBINDING_BECOMING_PRIMARY
Item management is starting here, having previously been running elsewhere
|
REBINDING_DESTROYED
Item was being mirrored but has now been destroyed
|
REBINDING_NO_LONGER_PRIMARY
Item management is stopping here, going elsewhere
|
REBINDING_READONLY
Item is being mirrored (or refreshed) here from a serialized/specified state
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReadOnly() |
static ManagementTransitionInfo.ManagementTransitionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ManagementTransitionInfo.ManagementTransitionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
wasReadOnly() |
public static final ManagementTransitionInfo.ManagementTransitionMode CREATING
public static final ManagementTransitionInfo.ManagementTransitionMode DESTROYING
public static final ManagementTransitionInfo.ManagementTransitionMode REBINDING_READONLY
public static final ManagementTransitionInfo.ManagementTransitionMode REBINDING_NO_LONGER_PRIMARY
public static final ManagementTransitionInfo.ManagementTransitionMode REBINDING_BECOMING_PRIMARY
public static final ManagementTransitionInfo.ManagementTransitionMode REBINDING_DESTROYED
public static ManagementTransitionInfo.ManagementTransitionMode[] values()
for (ManagementTransitionInfo.ManagementTransitionMode c : ManagementTransitionInfo.ManagementTransitionMode.values()) System.out.println(c);
public static ManagementTransitionInfo.ManagementTransitionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean wasReadOnly()
public boolean isReadOnly()