Uses of Enum Class org.apache.hadoop.service.Service.STATE (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.service, interface: Service, enum: STATE

# Uses of Enum Class
org.apache.hadoop.service.Service.STATE

Packages that use Service.STATE
Package
Description
org.apache.hadoop.service
Support for services.

- ## Uses of Service.STATE in org.apache.hadoop.service

  Fields in org.apache.hadoop.service declared as Service.STATE
  Modifier and Type
  Field
  Description
  `Service.STATE`
  LifecycleEvent.`state`
  new state
  Methods in org.apache.hadoop.service that return Service.STATE
  Modifier and Type
  Method
  Description
  `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.
  `final 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 class with the specified name.
  `static Service.STATE[]`
  Service.STATE.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.apache.hadoop.service with parameters of type Service.STATE
  Modifier and Type
  Method
  Description
  `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.
  `final 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?
  Constructors in org.apache.hadoop.service with parameters of type Service.STATE
  Modifier
  Constructor
  Description
  ``
  `ServiceStateModel(String name, Service.STATE state)`
  Create a service state model instance in the chosen state