voldemort.cluster.failuredetector
Interface FailureDetectorListener


public interface FailureDetectorListener

FailureDetectorListener is a simple means by which interested parties can listen for changes to the availability of nodes.

Note for implementors: Make sure that the FailureDetectorListener implementation properly implements the hashCode/equals methods to ensure adding and removing instances from the FailureDetector work as expected.

See Also:
FailureDetector.addFailureDetectorListener(voldemort.cluster.failuredetector.FailureDetectorListener), FailureDetector.removeFailureDetectorListener(voldemort.cluster.failuredetector.FailureDetectorListener)

Method Summary
 void nodeAvailable(Node node)
           
 void nodeUnavailable(Node node)
           
 

Method Detail

nodeUnavailable

void nodeUnavailable(Node node)

nodeAvailable

void nodeAvailable(Node node)


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu