Uses of Class
com.google.common.util.concurrent.Service.State
-
Packages that use Service.State Package Description com.google.common.util.concurrent Concurrency utilities. -
-
Uses of Service.State in com.google.common.util.concurrent
Methods in com.google.common.util.concurrent that return Service.State Modifier and Type Method Description Service.StateAbstractExecutionThreadService. state()Service.StateAbstractIdleService. state()Service.StateAbstractScheduledService. state()Service.StateAbstractService. state()Service.StateService. state()Returns the lifecycle state of the service.static Service.StateService.State. valueOf(java.lang.String name)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.State Modifier and Type Method Description ImmutableSetMultimap<Service.State,Service>ServiceManager. 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.State Modifier and Type Method Description voidService.Listener. failed(Service.State from, java.lang.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.
-