Package com.orchestranetworks.d3
Interface D3Slave.State
-
- Enclosing interface:
- D3Slave
public static interface D3Slave.StateRepresents the state of the replica repository.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserMessagegetLabel()Returns the state's label.booleanisAvailable()Checks if the replica is ready to receive D3 actions.booleanisInitializing()Checks if the replica has not finished initializing.booleanisOutOfService()Checks if the replica cannot be reached.booleanisStopped()Checks if the replica is stopped.booleanisUnavailable()Checks if the replica is unavailable.
-
-
-
Method Detail
-
getLabel
UserMessage getLabel()
Returns the state's label.
-
isAvailable
boolean isAvailable()
Checks if the replica is ready to receive D3 actions.- Returns:
trueif the replica is available, otherwise returnsfalse.
-
isInitializing
boolean isInitializing()
Checks if the replica has not finished initializing.- Returns:
trueif the replica is initializing, otherwise returnsfalse.
-
isUnavailable
boolean isUnavailable()
Checks if the replica is unavailable.- Returns:
trueif the replica is unavailable, otherwise returnsfalse.
-
isStopped
boolean isStopped()
Checks if the replica is stopped.- Returns:
trueif the replica is stopped, otherwise returnsfalse.- Since:
- 5.4.0
-
isOutOfService
boolean isOutOfService()
Checks if the replica cannot be reached.- Returns:
trueif the replica is out of service (which means it cannot be reached), otherwise returnsfalse.
-
-