|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Service.STATE | |
---|---|
org.apache.hadoop.service |
Uses of Service.STATE in org.apache.hadoop.service |
---|
Fields in org.apache.hadoop.service declared as Service.STATE | |
---|---|
Service.STATE |
LifecycleEvent.state
new state |
Methods in org.apache.hadoop.service that return Service.STATE | |
---|---|
Service.STATE |
ServiceStateModel.enterState(Service.STATE proposed)
Enter a state -thread safe. |
Service.STATE |
AbstractService.getFailureState()
|
Service.STATE |
Service.getFailureState()
Get the state in which the failure in Service.getFailureCause() occurred. |
Service.STATE |
AbstractService.getServiceState()
|
Service.STATE |
Service.getServiceState()
Get the current service state |
Service.STATE |
ServiceStateModel.getState()
Query the service state. |
static Service.STATE |
Service.STATE.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Service.STATE[] |
Service.STATE.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.apache.hadoop.service with parameters of type Service.STATE | |
---|---|
static void |
ServiceStateModel.checkStateTransition(String name,
Service.STATE state,
Service.STATE proposed)
Check that a state tansition is valid and throw an exception if not |
void |
ServiceStateModel.ensureCurrentState(Service.STATE expectedState)
Verify that that a service is in a given state. |
Service.STATE |
ServiceStateModel.enterState(Service.STATE proposed)
Enter a state -thread safe. |
boolean |
AbstractService.isInState(Service.STATE expected)
|
boolean |
Service.isInState(Service.STATE state)
Query to see if the service is in a specific state. |
boolean |
ServiceStateModel.isInState(Service.STATE proposed)
Query that the state is in a specific state |
static boolean |
ServiceStateModel.isValidStateTransition(Service.STATE current,
Service.STATE proposed)
Is a state transition valid? There are no checks for current==proposed as that is considered a non-transition. |
Constructors in org.apache.hadoop.service with parameters of type Service.STATE | |
---|---|
ServiceStateModel(String name,
Service.STATE state)
Create a service state model instance in the chosen state |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |