|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Master
Represents the master-side of the HA communication between master and slave. A master will receive calls to these methods from slaves when they do stuff.
| Method Detail |
|---|
Response<IdAllocation> allocateIds(org.neo4j.kernel.IdType idType)
Response<Integer> createRelationshipType(SlaveContext context,
String name)
Response<Void> initializeTx(SlaveContext context)
Response<LockResult> acquireNodeWriteLock(SlaveContext context,
long... nodes)
Response<LockResult> acquireNodeReadLock(SlaveContext context,
long... nodes)
Response<LockResult> acquireRelationshipWriteLock(SlaveContext context,
long... relationships)
Response<LockResult> acquireRelationshipReadLock(SlaveContext context,
long... relationships)
Response<Long> commitSingleResourceTransaction(SlaveContext context,
String resource,
TxExtractor txGetter)
Response<Void> finishTransaction(SlaveContext context,
boolean success)
Response<Void> pullUpdates(SlaveContext context)
Response<org.neo4j.helpers.Pair<Integer,Long>> getMasterIdForCommittedTx(long txId,
org.neo4j.kernel.impl.nioneo.store.StoreId myStoreId)
txId - the transaction id to get the data for.myStoreId - clients store id.
Response<Void> copyStore(SlaveContext context,
StoreWriter writer)
void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||