org.neo4j.kernel.ha
Class FakeMasterBroker
java.lang.Object
org.neo4j.kernel.ha.AbstractBroker
org.neo4j.kernel.ha.FakeMasterBroker
- All Implemented Interfaces:
- Broker
public class FakeMasterBroker
- extends AbstractBroker
|
Constructor Summary |
FakeMasterBroker(int myMachineId,
org.neo4j.graphdb.GraphDatabaseService graphDb)
|
| Methods inherited from class org.neo4j.kernel.ha.AbstractBroker |
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 |
FakeMasterBroker
public FakeMasterBroker(int myMachineId,
org.neo4j.graphdb.GraphDatabaseService graphDb)
createCluster
public org.neo4j.kernel.impl.nioneo.store.StoreId createCluster(org.neo4j.kernel.impl.nioneo.store.StoreId storeIdSuggestion)
- Specified by:
createCluster in interface Broker- Overrides:
createCluster in class AbstractBroker
getMasterMachine
public Machine getMasterMachine()
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.