org.neo4j.kernel.ha
Interface SlaveDatabaseOperations

All Superinterfaces:
org.neo4j.com.Client.ConnectionLostHandler

public interface SlaveDatabaseOperations
extends org.neo4j.com.Client.ConnectionLostHandler


Field Summary
 
Fields inherited from interface org.neo4j.com.Client.ConnectionLostHandler
NO_ACTION
 
Method Summary
 void exceptionHappened(RuntimeException e)
           
 int getMasterForTx(long tx)
           
 org.neo4j.com.SlaveContext getSlaveContext(int eventIdentifier)
          Returns a SlaveContext instance that has eventIdentifier as the event identifier.
<T> T
receive(org.neo4j.com.Response<T> response)
           
 
Methods inherited from interface org.neo4j.com.Client.ConnectionLostHandler
handle
 

Method Detail

getSlaveContext

org.neo4j.com.SlaveContext getSlaveContext(int eventIdentifier)
Returns a SlaveContext instance that has eventIdentifier as the event identifier.

Parameters:
eventIdentifier - The event identifier of the returned slave context
Returns:
The slave context

receive

<T> T receive(org.neo4j.com.Response<T> response)

exceptionHappened

void exceptionHappened(RuntimeException e)

getMasterForTx

int getMasterForTx(long tx)


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