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.StateAbstractExecutionThreadService.state()final Service.StateAbstractIdleService.state()final Service.StateAbstractScheduledService.state()final Service.StateAbstractService.state()Service.state()Returns the lifecycle state of the service.static Service.StateReturns 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 TypeMethodDescriptionvoidService.Listener.failed(Service.State from, Throwable failure) Called when the service transitions to the FAILED state.voidService.Listener.stopping(Service.State from) Called when the service transitions to the STOPPING state.voidService.Listener.terminated(Service.State from) Called when the service transitions to the TERMINATED state.