Uses of Enum
dev.mccue.guava.concurrent.Service.State
-
Uses of Service.State in dev.mccue.guava.concurrent
Methods in dev.mccue.guava.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 dev.mccue.guava.concurrent that return types with arguments of type Service.StateModifier and TypeMethodDescriptiondev.mccue.guava.collect.ImmutableSetMultimap<Service.State,
Service> ServiceManager.servicesByState()
Provides a snapshot of the current state of all the services under management.Methods in dev.mccue.guava.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.