Package org.apache.cassandra.service
Class LoadBroadcaster
java.lang.Object
org.apache.cassandra.service.LoadBroadcaster
- All Implemented Interfaces:
IEndpointStateChangeSubscriber
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidonChange(InetAddressAndPort endpoint, ApplicationState state, VersionedValue value) voidonJoin(InetAddressAndPort endpoint, EndpointState epState) Use to inform interested parties about the change in the state for specified endpointvoidonRemove(InetAddressAndPort endpoint) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.gms.IEndpointStateChangeSubscriber
beforeChange, onAlive, onDead, onRestart
-
Field Details
-
instance
-
-
Method Details
-
onChange
- Specified by:
onChangein interfaceIEndpointStateChangeSubscriber
-
onJoin
Description copied from interface:IEndpointStateChangeSubscriberUse to inform interested parties about the change in the state for specified endpoint- Specified by:
onJoinin interfaceIEndpointStateChangeSubscriber- Parameters:
endpoint- endpoint for which the state change occurred.epState- state that actually changed for the above endpoint.
-
onRemove
- Specified by:
onRemovein interfaceIEndpointStateChangeSubscriber
-
getLoadInfo
-
startBroadcasting
public void startBroadcasting()
-