Uses of Class
com.google.common.util.concurrent.Service.Listener
-
Packages that use Service.Listener Package Description com.google.common.util.concurrent Concurrency utilities. -
-
Uses of Service.Listener in com.google.common.util.concurrent
Subclasses of Service.Listener in com.google.common.util.concurrent Modifier and Type Class Description private static classServiceManager.ServiceListenerAServicethat wraps another service and times how long it takes for it to start and also calls theServiceManager.ServiceManagerState.transitionService(Service, State, State), to record the state transitions.Methods in com.google.common.util.concurrent that return types with arguments of type Service.Listener Modifier and Type Method Description private static ListenerCallQueue.Event<Service.Listener>AbstractService. stoppingEvent(Service.State from)private static ListenerCallQueue.Event<Service.Listener>AbstractService. terminatedEvent(Service.State from)Methods in com.google.common.util.concurrent with parameters of type Service.Listener Modifier and Type Method Description voidAbstractExecutionThreadService. addListener(Service.Listener listener, java.util.concurrent.Executor executor)voidAbstractIdleService. addListener(Service.Listener listener, java.util.concurrent.Executor executor)voidAbstractScheduledService. addListener(Service.Listener listener, java.util.concurrent.Executor executor)voidAbstractService. addListener(Service.Listener listener, java.util.concurrent.Executor executor)voidService. addListener(Service.Listener listener, java.util.concurrent.Executor executor)Registers aService.Listenerto be executed on the given executor.
-