org.neo4j.kernel.ha
Class FakeSlaveBroker

java.lang.Object
  extended by org.neo4j.kernel.ha.AbstractBroker
      extended by org.neo4j.kernel.ha.FakeSlaveBroker
All Implemented Interfaces:
Broker

public class FakeSlaveBroker
extends AbstractBroker


Constructor Summary
FakeSlaveBroker(Master master, int masterMachineId, int myMachineId, org.neo4j.graphdb.GraphDatabaseService graphDb)
           
 
Method Summary
 org.neo4j.helpers.Pair<Master,Machine> getMaster()
           
 org.neo4j.helpers.Pair<Master,Machine> getMasterReally()
           
 boolean iAmMaster()
           
 Object instantiateMasterServer(org.neo4j.graphdb.GraphDatabaseService graphDb)
           
 
Methods inherited from class org.neo4j.kernel.ha.AbstractBroker
createCluster, getConnectionInformation, getConnectionInformation, getMasterExceptMyself, getMyMachineId, getStoreDir, notifyMasterChange, rebindMaster, setConnectionInformation, setLastCommittedTxId, shutdown, wrapSingleBroker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeSlaveBroker

public FakeSlaveBroker(Master master,
                       int masterMachineId,
                       int myMachineId,
                       org.neo4j.graphdb.GraphDatabaseService graphDb)
Method Detail

getMaster

public org.neo4j.helpers.Pair<Master,Machine> getMaster()

getMasterReally

public org.neo4j.helpers.Pair<Master,Machine> getMasterReally()

iAmMaster

public boolean iAmMaster()

instantiateMasterServer

public Object instantiateMasterServer(org.neo4j.graphdb.GraphDatabaseService graphDb)


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.