public interface IEndpointLifecycleSubscriber
Modifier and Type | Method and Description |
---|---|
void |
onDown(java.net.InetAddress endpoint)
Called when a node is marked DOWN.
|
void |
onJoinCluster(java.net.InetAddress endpoint)
Called when a new node joins the cluster, i.e.
|
void |
onLeaveCluster(java.net.InetAddress endpoint)
Called when a new node leave the cluster (decommission or removeToken).
|
void |
onMove(java.net.InetAddress endpoint)
Called when a node has moved (to a new token).
|
void |
onUp(java.net.InetAddress endpoint)
Called when a node is marked UP.
|
void onJoinCluster(java.net.InetAddress endpoint)
endpoint
- the newly added endpoint.void onLeaveCluster(java.net.InetAddress endpoint)
endpoint
- the endpoint that is leaving.void onUp(java.net.InetAddress endpoint)
endpoint
- the endpoint marked UP.void onDown(java.net.InetAddress endpoint)
endpoint
- the endpoint marked DOWN.void onMove(java.net.InetAddress endpoint)
endpoint
- the endpoint that has moved.Copyright © 2016 The Apache Software Foundation