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.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 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 TypeMethodDescriptionvoidService.Listener.failed(Service.State from, Throwable failure) Called when the service transitions to theState#FAILED FAILEDstate.voidService.Listener.stopping(Service.State from) Called when the service transitions to theState#STOPPING STOPPINGstate.voidService.Listener.terminated(Service.State from) Called when the service transitions to theState#TERMINATED TERMINATEDstate.