org.neo4j.kernel.ha
Interface Broker

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

public interface Broker


Method Summary
 ConnectionInformation[] getConnectionInformation()
           
 ConnectionInformation getConnectionInformation(int machineId)
           
 Pair<Master,Machine> getMaster()
           
 Machine getMasterExceptMyself()
           
 Pair<Master,Machine> getMasterReally()
           
 int getMyMachineId()
           
 boolean iAmMaster()
           
 Object instantiateMasterServer(GraphDatabaseService graphDb)
           
 void rebindMaster()
           
 void setConnectionInformation(KernelExtension.KernelData kernel)
           
 void setLastCommittedTxId(long txId)
           
 void shutdown()
           
 

Method Detail

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()

shutdown

void shutdown()

setConnectionInformation

void setConnectionInformation(KernelExtension.KernelData kernel)

getConnectionInformation

ConnectionInformation getConnectionInformation(int machineId)

getConnectionInformation

ConnectionInformation[] getConnectionInformation()


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