Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Field and Description |
---|---|
private static ListenerCallQueue.Event<ServiceManager.Listener> |
ServiceManager.HEALTHY_EVENT |
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.RUNNING_EVENT |
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.STARTING_EVENT |
private static ListenerCallQueue.Event<ServiceManager.Listener> |
ServiceManager.STOPPED_EVENT |
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.STOPPING_FROM_RUNNING_EVENT |
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.STOPPING_FROM_STARTING_EVENT |
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.TERMINATED_FROM_NEW_EVENT |
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.TERMINATED_FROM_RUNNING_EVENT |
private static ListenerCallQueue.Event<Service.Listener> |
AbstractService.TERMINATED_FROM_STOPPING_EVENT |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Queue<ListenerCallQueue.Event<L>> |
ListenerCallQueue.PerListenerQueue.waitQueue |
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 |
---|---|
(package private) void |
ListenerCallQueue.PerListenerQueue.add(ListenerCallQueue.Event<L> event,
java.lang.Object label)
Enqueues a event to be run.
|
void |
ListenerCallQueue.enqueue(ListenerCallQueue.Event<L> event)
Enqueues an event to be run on currently known listeners.
|
void |
ListenerCallQueue.enqueue(ListenerCallQueue.Event<L> event,
java.lang.String label)
Enqueues an event to be run on currently known listeners, with a label.
|
private void |
ListenerCallQueue.enqueueHelper(ListenerCallQueue.Event<L> event,
java.lang.Object label) |