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, GraphDatabaseService graphDb)
           
 
Method Summary
 Pair<Master,Machine> getMaster()
           
 Pair<Master,Machine> getMasterReally(boolean allowChange)
           
 boolean iAmMaster()
           
 Object instantiateMasterServer(AbstractGraphDatabase graphDb)
           
 
Methods inherited from class org.neo4j.kernel.ha.AbstractBroker
getClusterStoreId, getConnectionInformation, getConnectionInformation, getMasterExceptMyself, getMyMachineId, getStoreDir, logStatus, 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,
                       GraphDatabaseService graphDb)
Method Detail

getMaster

public Pair<Master,Machine> getMaster()

getMasterReally

public Pair<Master,Machine> getMasterReally(boolean allowChange)

iAmMaster

public boolean iAmMaster()

instantiateMasterServer

public Object instantiateMasterServer(AbstractGraphDatabase graphDb)


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