org.neo4j.kernel.ha.cluster.member
Class HighAvailabilitySlaves
java.lang.Object
org.neo4j.kernel.ha.cluster.member.HighAvailabilitySlaves
- All Implemented Interfaces:
- Slaves, org.neo4j.kernel.lifecycle.Lifecycle
public class HighAvailabilitySlaves
- extends Object
- implements org.neo4j.kernel.lifecycle.Lifecycle, Slaves
Keeps active connections to slaves for a master to communicate to
when so needed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HighAvailabilitySlaves
public HighAvailabilitySlaves(ClusterMembers clusterMembers,
org.neo4j.cluster.protocol.cluster.Cluster cluster,
SlaveFactory slaveFactory)
getSlaves
public Iterable<Slave> getSlaves()
- Specified by:
getSlaves in interface Slaves
init
public void init()
- Specified by:
init in interface org.neo4j.kernel.lifecycle.Lifecycle
start
public void start()
throws Throwable
- Specified by:
start in interface org.neo4j.kernel.lifecycle.Lifecycle
- Throws:
Throwable
stop
public void stop()
throws Throwable
- Specified by:
stop in interface org.neo4j.kernel.lifecycle.Lifecycle
- Throws:
Throwable
shutdown
public void shutdown()
throws Throwable
- Specified by:
shutdown in interface org.neo4j.kernel.lifecycle.Lifecycle
- Throws:
Throwable
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.