Uses of Enum Class
com.google.common.util.concurrent.Service.State
Packages that use Service.State
-
Uses of Service.State in com.google.common.util.concurrent
Fields in com.google.common.util.concurrent declared as Service.StateModifier and TypeFieldDescription(package private) final Service.StateAbstractService.StateSnapshot.stateThe internal state, which equals external state unless shutdownWhenStartupFinishes is true.Fields in com.google.common.util.concurrent with type parameters of type Service.StateModifier and TypeFieldDescription(package private) final SetMultimap<Service.State,Service> ServiceManager.ServiceManagerState.servicesByState(package private) final Multiset<Service.State>ServiceManager.ServiceManagerState.statesMethods in com.google.common.util.concurrent that return Service.StateModifier and TypeMethodDescription(package private) Service.StateAbstractService.StateSnapshot.externalState()final 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 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 com.google.common.util.concurrent that return types with arguments of type Service.StateModifier and TypeMethodDescription(package private) ImmutableSetMultimap<Service.State,Service> ServiceManager.ServiceManagerState.servicesByState()ServiceManager.servicesByState()Provides a snapshot of the current state of all the services under management.ServiceManagerBridge.servicesByState()Methods in com.google.common.util.concurrent with parameters of type Service.StateModifier and TypeMethodDescriptionprivate voidAbstractService.checkCurrentState(Service.State expected) Checks that the current state is equal to the expected state.private voidAbstractService.enqueueFailedEvent(Service.State from, Throwable cause) private voidAbstractService.enqueueStoppingEvent(Service.State from) private voidAbstractService.enqueueTerminatedEvent(Service.State from) voidService.Listener.failed(Service.State from, Throwable failure) Called when the service transitions to the FAILED state.voidServiceManager.ServiceListener.failed(Service.State from, Throwable failure) voidService.Listener.stopping(Service.State from) Called when the service transitions to the STOPPING state.voidServiceManager.ServiceListener.stopping(Service.State from) private static ListenerCallQueue.Event<Service.Listener>AbstractService.stoppingEvent(Service.State from) voidService.Listener.terminated(Service.State from) Called when the service transitions to the TERMINATED state.voidServiceManager.ServiceListener.terminated(Service.State from) private static ListenerCallQueue.Event<Service.Listener>AbstractService.terminatedEvent(Service.State from) (package private) voidServiceManager.ServiceManagerState.transitionService(Service service, Service.State from, Service.State to) Updates the state with the given service transition.Constructors in com.google.common.util.concurrent with parameters of type Service.StateModifierConstructorDescription(package private)StateSnapshot(Service.State internalState) (package private)StateSnapshot(Service.State internalState, boolean shutdownWhenStartupFinishes, Throwable failure)