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