org.openspaces.admin.pu
Enum ProvisionStatus
java.lang.Object
java.lang.Enum<ProvisionStatus>
org.openspaces.admin.pu.ProvisionStatus
- All Implemented Interfaces:
- Serializable, Comparable<ProvisionStatus>
public enum ProvisionStatus
- extends Enum<ProvisionStatus>
The provision status of a processing unit instance. When a processing unit is deployed/maintained, each instance
will be in one of the following transition states.
- Since:
- 8.0.6
- Author:
- moran
- See Also:
ProcessingUnitInstanceProvisionStatusChangedEvent
,
ProcessingUnitInstanceProvisionStatusChangedEventListener
ATTEMPT
public static final ProvisionStatus ATTEMPT
SUCCESS
public static final ProvisionStatus SUCCESS
FAILURE
public static final ProvisionStatus FAILURE
PENDING
public static final ProvisionStatus PENDING
values
public static ProvisionStatus[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ProvisionStatus c : ProvisionStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ProvisionStatus valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getProvisionFailure
public ProcessingUnitInstanceProvisionFailure getProvisionFailure()
- Returns:
- Upon a provision
FAILURE
, the reason/cause can be extracted. Otherwise returns null
.
Copyright © GigaSpaces.