org.neo4j.cluster
Interface ClusterMonitor

All Superinterfaces:
BindingNotifier, Heartbeat
All Known Implementing Classes:
ClusterClient

public interface ClusterMonitor
extends BindingNotifier, Heartbeat

Bundles up different ways of listening in on events going on in a cluster. Binding for notifications about which URI is used for sending events of the network. Heartbeat for notifications about failed/alive members. addClusterListener(ClusterListener), {@link #removeClusterListener(ClusterListener) for getting notified about cluster membership events.

Author:
Mattias Persson

Method Summary
 void addClusterListener(ClusterListener listener)
           
 void removeClusterListener(ClusterListener listener)
           
 
Methods inherited from interface org.neo4j.cluster.com.BindingNotifier
addBindingListener, removeBindingListener
 
Methods inherited from interface org.neo4j.cluster.protocol.heartbeat.Heartbeat
addHeartbeatListener, removeHeartbeatListener
 

Method Detail

addClusterListener

void addClusterListener(ClusterListener listener)

removeClusterListener

void removeClusterListener(ClusterListener listener)


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.