|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Service.State | |
---|---|
com.google.common.base | Miscellaneous common util classes and annotations. |
com.google.common.util.concurrent |
Uses of Service.State in com.google.common.base |
---|
Methods in com.google.common.base that return Service.State | |
---|---|
Service.State |
Service.startAndWait()
Initiates service startup (if necessary), returning once the service has finished starting. |
Service.State |
Service.state()
Returns the lifecycle state of the service. |
Service.State |
Service.stopAndWait()
Initiates service shutdown (if necessary), returning once the service has finished stopping. |
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. |
Methods in com.google.common.base that return types with arguments of type Service.State | |
---|---|
Future<Service.State> |
Service.start()
If the service state is NEW , this initiates service startup
and returns immediately. |
Future<Service.State> |
Service.stop()
If the service is STARTING or RUNNING , this
initiates service shutdown and returns immediately. |
Uses of Service.State in com.google.common.util.concurrent |
---|
Methods in com.google.common.util.concurrent that return Service.State | |
---|---|
Service.State |
ForwardingService.startAndWait()
|
Service.State |
AbstractIdleService.startAndWait()
|
Service.State |
AbstractExecutionThreadService.startAndWait()
|
Service.State |
AbstractService.startAndWait()
|
Service.State |
ForwardingService.state()
|
Service.State |
AbstractIdleService.state()
|
Service.State |
AbstractExecutionThreadService.state()
|
Service.State |
AbstractService.state()
|
Service.State |
ForwardingService.stopAndWait()
|
Service.State |
AbstractIdleService.stopAndWait()
|
Service.State |
AbstractExecutionThreadService.stopAndWait()
|
Service.State |
AbstractService.stopAndWait()
|
Methods in com.google.common.util.concurrent that return types with arguments of type Service.State | |
---|---|
Future<Service.State> |
ForwardingService.start()
|
Future<Service.State> |
AbstractIdleService.start()
|
Future<Service.State> |
AbstractExecutionThreadService.start()
|
Future<Service.State> |
AbstractService.start()
|
Future<Service.State> |
ForwardingService.stop()
|
Future<Service.State> |
AbstractIdleService.stop()
|
Future<Service.State> |
AbstractExecutionThreadService.stop()
|
Future<Service.State> |
AbstractService.stop()
|
Methods in com.google.common.util.concurrent with parameters of type Service.State | |
---|---|
protected Executor |
AbstractIdleService.executor(Service.State state)
Returns the Executor that will be used to run this service. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |