Enum Class QuiescePolicy
- All Implemented Interfaces:
Serializable, Comparable<QuiescePolicy>, Constable
How a quiesced cluster is treated. A quiesced space is alive and reachable but rejects operations with
com.gigaspaces.admin.quiesce.QuiesceException - typically during maintenance - so it is neither
a healthy target nor a failed cluster.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSurface theQuiesceExceptionto the caller immediately.Retry the mutation until the cluster leaves quiesce mode.Treat quiesce like unavailability: the cluster stops receiving traffic and normal failover applies. -
Method Summary
Modifier and TypeMethodDescriptionstatic QuiescePolicyReturns the enum constant of this class with the specified name.static QuiescePolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RETRY_UNTIL_ACTIVE
Retry the mutation until the cluster leaves quiesce mode. The caller's operation succeeds on the active cluster and the quiesced cluster catches up once maintenance ends, rather than the whole fan-out failing for the duration of the maintenance window (PIC-6085 acceptance criterion A5). -
TREAT_AS_UNAVAILABLE
Treat quiesce like unavailability: the cluster stops receiving traffic and normal failover applies. Appropriate for long maintenance windows. -
FAIL
Surface theQuiesceExceptionto the caller immediately.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-