org.apache.cassandra.gms
Interface IEndPointStateChangeSubscriber

All Known Implementing Classes:
StorageService

public interface IEndPointStateChangeSubscriber

This is called by an instance of the IEndPointStateChangePublisher to notify interested parties about changes in the the state associated with any endpoint. For instance if node A figures there is a changes in state for an endpoint B it notifies all interested parties of this change. It is upto to the registered instance to decide what he does with this change. Not all modules maybe interested in all state changes.


Method Summary
 void onChange(EndPoint endpoint, EndPointState epState)
          Use to inform interested parties about the change in the state for specified endpoint
 

Method Detail

onChange

void onChange(EndPoint endpoint,
              EndPointState epState)
Use to inform interested parties about the change in the state for specified endpoint

Parameters:
endpoint - endpoint for which the state change occurred.
epState - state that actually changed for the above endpoint.


Copyright © 2009 The Apache Software Foundation