GigaSpaces XAP 9.7.2 API

org.openspaces.admin.pu
Enum ProvisionStatus

java.lang.Object
  extended by java.lang.Enum<ProvisionStatus>
      extended by 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

Enum Constant Summary
ATTEMPT
           
FAILURE
           
PENDING
           
SUCCESS
           
 
Method Summary
 ProcessingUnitInstanceProvisionFailure getProvisionFailure()
           
static ProvisionStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProvisionStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ATTEMPT

public static final ProvisionStatus ATTEMPT

SUCCESS

public static final ProvisionStatus SUCCESS

FAILURE

public static final ProvisionStatus FAILURE

PENDING

public static final ProvisionStatus PENDING
Method Detail

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.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.