Uses of Enum
com.google.common.util.concurrent.Service.State
Packages that use Service.State
-
Uses of Service.State in com.google.common.util.concurrent
Subclasses with type arguments of type Service.State in com.google.common.util.concurrentMethods in com.google.common.util.concurrent that return Service.StateModifier and TypeMethodDescriptionfinal Service.State
AbstractExecutionThreadService.state()
final Service.State
AbstractIdleService.state()
final Service.State
AbstractScheduledService.state()
final Service.State
AbstractService.state()
Service.state()
Returns the lifecycle state of the service.static Service.State
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 com.google.common.util.concurrent that return types with arguments of type Service.StateModifier and TypeMethodDescriptionServiceManager.servicesByState()
Provides a snapshot of the current state of all the services under management.Methods in com.google.common.util.concurrent with parameters of type Service.StateModifier and TypeMethodDescriptionvoid
Service.Listener.failed
(Service.State from, Throwable failure) Called when the service transitions to the FAILED state.void
Service.Listener.stopping
(Service.State from) Called when the service transitions to the STOPPING state.void
Service.Listener.terminated
(Service.State from) Called when the service transitions to the TERMINATED state.