| Package | Description |
|---|---|
| com.google.common.util.concurrent |
Concurrency utilities.
|
| Modifier and Type | Method and Description |
|---|---|
Service |
AbstractIdleService.state()
|
Service |
Service.state()
Returns the lifecycle state of the service.
|
Service |
AbstractExecutionThreadService.state()
|
Service |
AbstractService.state()
|
Service |
AbstractScheduledService.state()
|
static Service |
Service.State.valueOf(String
Returns the enum constant of this type with the specified name.
|
static Service |
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 |
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
Called when the service transitions to the
FAILED state.
|
void |
Service.Listener.stopping(Service
Called when the service transitions to the
STOPPING state.
|
void |
Service.Listener.terminated(Service
Called when the service transitions to the
TERMINATED state.
|