org.apache.cassandra.gms
Interface IEndPointStateChangePublisher

All Known Implementing Classes:
Gossiper

public interface IEndPointStateChangePublisher

This is implemented by the Gossiper module to publish change events to interested parties. Interested parties register/unregister interest by invoking the methods of this interface. Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( pmalik@facebook.com )


Method Summary
 void register(IEndPointStateChangeSubscriber subcriber)
          Register for interesting state changes.
 void unregister(IEndPointStateChangeSubscriber subcriber)
          Unregister interest for state changes.
 

Method Detail

register

void register(IEndPointStateChangeSubscriber subcriber)
Register for interesting state changes.

Parameters:
subcriber - module which implements the IEndPointStateChangeSubscriber

unregister

void unregister(IEndPointStateChangeSubscriber subcriber)
Unregister interest for state changes.

Parameters:
subcriber - module which implements the IEndPointStateChangeSubscriber


Copyright © 2009 The Apache Software Foundation