Class ServiceManager.Listener
java.lang.Object
com.google.common.util.concurrent.ServiceManager.Listener
- Enclosing class:
ServiceManager
A listener for the aggregate state changes of the services that are under management. Users
that need to listen to more fine-grained events (such as when each particular service starts, or terminates), should attach service
listeners to each individual service.
- Since:
- 15.0 (present as an interface in 14.0)
- Author:
- Luke Sandberg
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Listener
public Listener()Constructor for use by subclasses.
-
-
Method Details
-
healthy
-
stopped
Called when the all of the component services have reached a terminal state, either terminated or failed. -
failure
-