Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Class and Description |
---|---|
private static class |
ServiceManager.ServiceListener
A
Service that wraps another service and times how long it takes for it to start and
also calls the ServiceManagerState#transitionService(Service, State, State) , to record
the state transitions. |
Modifier and Type | Method and Description |
---|---|
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.stoppingEvent(Service.State from) |
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.terminatedEvent(Service.State from) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractService.addListener(Service.Listener listener,
java.util.concurrent.Executor executor) |
void |
AbstractExecutionThreadService.addListener(Service.Listener listener,
java.util.concurrent.Executor executor) |
void |
Service.addListener(Service.Listener listener,
java.util.concurrent.Executor executor)
Registers a
Service.Listener to be executed on the given
executor. |
void |
AbstractScheduledService.addListener(Service.Listener listener,
java.util.concurrent.Executor executor) |
void |
AbstractIdleService.addListener(Service.Listener listener,
java.util.concurrent.Executor executor) |