org.neo4j.kernel.ha
Interface Broker

All Known Implementing Classes:
AbstractBroker, FakeMasterBroker, FakeSlaveBroker, ZooKeeperBroker

public interface Broker


Method Summary
 org.neo4j.kernel.impl.nioneo.store.StoreId getClusterStoreId()
           
 ConnectionInformation[] getConnectionInformation()
           
 ConnectionInformation getConnectionInformation(int machineId)
           
 Pair<Master,Machine> getMaster()
           
 Machine getMasterExceptMyself()
           
 Pair<Master,Machine> getMasterReally(boolean allowChange)
           
 int getMyMachineId()
           
 boolean iAmMaster()
           
 Object instantiateMasterServer(AbstractGraphDatabase graphDb)
           
 void logStatus(org.neo4j.kernel.impl.util.StringLogger msgLog)
           
 void notifyMasterChange(Machine newMaster)
           
 void rebindMaster()
           
 void setConnectionInformation(KernelData kernel)
           
 void setLastCommittedTxId(long txId)
           
 void shutdown()
           
 

Method Detail

getMaster

Pair<Master,Machine> getMaster()

getMasterReally

Pair<Master,Machine> getMasterReally(boolean allowChange)

getMasterExceptMyself

Machine getMasterExceptMyself()

setLastCommittedTxId

void setLastCommittedTxId(long txId)

iAmMaster

boolean iAmMaster()

getMyMachineId

int getMyMachineId()

instantiateMasterServer

Object instantiateMasterServer(AbstractGraphDatabase 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()

getClusterStoreId

org.neo4j.kernel.impl.nioneo.store.StoreId getClusterStoreId()

logStatus

void logStatus(org.neo4j.kernel.impl.util.StringLogger msgLog)


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