Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Method and Description |
---|---|
Service.State |
AbstractScheduledService.state() |
Service.State |
AbstractService.state() |
Service.State |
AbstractExecutionThreadService.state() |
Service.State |
AbstractIdleService.state() |
Service.State |
Service.state()
Returns the lifecycle state of the service.
|
static Service.State |
Service.State.valueOf(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.
|
Modifier and Type | Method and Description |
---|---|
ImmutableMultimap<Service.State,Service> |
ServiceManager.servicesByState()
Provides a snapshot of the current state of all the services under management.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Copyright © 2010-2017. All Rights Reserved.