Class ServiceManager.ServiceListener

java.lang.Object
com.google.common.util.concurrent.Service.Listener
com.google.common.util.concurrent.ServiceManager.ServiceListener
Enclosing class:
ServiceManager

private static final class ServiceManager.ServiceListener extends Service.Listener
A Service that wraps another service and times how long it takes for it to start and also calls the ServiceManager.ServiceManagerState.transitionService(Service, State, State), to record the state transitions.