public class ClusterMonitor.ClusterMonitorInstanceManager extends java.lang.Object implements InstanceObservable.InstanceObserver
| Constructor and Description |
|---|
ClusterMonitor.ClusterMonitorInstanceManager() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
The unique name of this observer.
|
void |
hostDown(Instance host) |
void |
hostsDown(java.util.Collection<Instance> hosts)
Callback for notifying hosts that are down.
|
void |
hostsUp(java.util.Collection<Instance> hosts)
Callback for notifying hosts that are up.
|
void |
hostUp(Instance host) |
public ClusterMonitor.ClusterMonitorInstanceManager()
public java.lang.String getName()
InstanceObservable.InstanceObservergetName in interface InstanceObservable.InstanceObserverpublic void hostUp(Instance host)
public void hostDown(Instance host)
public void hostsUp(java.util.Collection<Instance> hosts)
InstanceObservable.InstanceObserverhostsUp in interface InstanceObservable.InstanceObserverhosts - Collection<Instance> hostspublic void hostsDown(java.util.Collection<Instance> hosts)
InstanceObservable.InstanceObserverhostsDown in interface InstanceObservable.InstanceObserverhosts - Collection<Instance> hosts