org.neo4j.kernel.ha
Interface Broker
- All Known Implementing Classes:
- AbstractBroker, FakeMasterBroker, FakeSlaveBroker, ZooKeeperBroker
public interface Broker
getMaster
Pair<Master,Machine> getMaster()
getMasterReally
Pair<Master,Machine> getMasterReally()
getMasterExceptMyself
Machine getMasterExceptMyself()
setLastCommittedTxId
void setLastCommittedTxId(long txId)
iAmMaster
boolean iAmMaster()
getMyMachineId
int getMyMachineId()
instantiateMasterServer
Object instantiateMasterServer(GraphDatabaseService graphDb)
rebindMaster
void rebindMaster()
notifyMasterChange
void notifyMasterChange(Machine newMaster)
shutdown
void shutdown()
setConnectionInformation
void setConnectionInformation(KernelData kernel)
getConnectionInformation
ConnectionInformation getConnectionInformation(int machineId)
getConnectionInformation
ConnectionInformation[] getConnectionInformation()
createCluster
org.neo4j.kernel.impl.nioneo.store.StoreId createCluster(org.neo4j.kernel.impl.nioneo.store.StoreId storeIdSuggestion)
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.