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 createCluster(org.neo4j.kernel.impl.nioneo.store.StoreId storeIdSuggestion)
           
 ConnectionInformation[] getConnectionInformation()
           
 ConnectionInformation getConnectionInformation(int machineId)
           
 org.neo4j.helpers.Pair<Master,Machine> getMaster()
           
 Machine getMasterExceptMyself()
           
 org.neo4j.helpers.Pair<Master,Machine> getMasterReally()
           
 int getMyMachineId()
           
 boolean iAmMaster()
           
 Object instantiateMasterServer(org.neo4j.graphdb.GraphDatabaseService graphDb)
           
 void rebindMaster()
           
 void setConnectionInformation(org.neo4j.kernel.KernelData kernel)
           
 void setLastCommittedTxId(long txId)
           
 void shutdown()
           
 

Method Detail

getMaster

org.neo4j.helpers.Pair<Master,Machine> getMaster()

getMasterReally

org.neo4j.helpers.Pair<Master,Machine> getMasterReally()

getMasterExceptMyself

Machine getMasterExceptMyself()

setLastCommittedTxId

void setLastCommittedTxId(long txId)

iAmMaster

boolean iAmMaster()

getMyMachineId

int getMyMachineId()

instantiateMasterServer

Object instantiateMasterServer(org.neo4j.graphdb.GraphDatabaseService graphDb)

rebindMaster

void rebindMaster()

shutdown

void shutdown()

setConnectionInformation

void setConnectionInformation(org.neo4j.kernel.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.