public interface MasterClient extends Master
| Modifier and Type | Field and Description |
|---|---|
static org.neo4j.com.ProtocolVersion |
CURRENT |
static org.neo4j.com.Deserializer<LockResult> |
LOCK_RESULT_DESERIALIZER |
static org.neo4j.com.ObjectSerializer<LockResult> |
LOCK_SERIALIZER |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.com.Response<Long> |
commit(org.neo4j.com.RequestContext context,
org.neo4j.kernel.impl.transaction.TransactionRepresentation channel)
Calling this method will validate, persist to log and apply changes to stores on
the master.
|
org.neo4j.com.Response<Void> |
copyStore(org.neo4j.com.RequestContext context,
org.neo4j.com.storecopy.StoreWriter writer) |
org.neo4j.com.Response<Integer> |
createRelationshipType(org.neo4j.com.RequestContext context,
String name) |
org.neo4j.com.ProtocolVersion |
getProtocolVersion() |
org.neo4j.com.Response<Void> |
newLockSession(org.neo4j.com.RequestContext context)
Calling this method will create a new session with the cluster lock manager and associate that
session with the provided
RequestContext. |
org.neo4j.com.Response<Void> |
pullUpdates(org.neo4j.com.RequestContext context) |
org.neo4j.com.Response<Void> |
pullUpdates(org.neo4j.com.RequestContext context,
org.neo4j.com.storecopy.ResponseUnpacker.TxHandler txHandler) |
void |
setComExceptionHandler(org.neo4j.com.ComExceptionHandler handler) |
acquireExclusiveLock, acquireSharedLock, allocateIds, createLabel, createPropertyKey, endLockSession, handshakestatic final org.neo4j.com.ObjectSerializer<LockResult> LOCK_SERIALIZER
static final org.neo4j.com.Deserializer<LockResult> LOCK_RESULT_DESERIALIZER
static final org.neo4j.com.ProtocolVersion CURRENT
org.neo4j.com.Response<Integer> createRelationshipType(org.neo4j.com.RequestContext context, String name)
createRelationshipType in interface Masterorg.neo4j.com.Response<Void> newLockSession(org.neo4j.com.RequestContext context)
MasterRequestContext.newLockSession in interface Masterorg.neo4j.com.Response<Long> commit(org.neo4j.com.RequestContext context, org.neo4j.kernel.impl.transaction.TransactionRepresentation channel)
Masterorg.neo4j.com.Response<Void> pullUpdates(org.neo4j.com.RequestContext context)
pullUpdates in interface Masterorg.neo4j.com.Response<Void> pullUpdates(org.neo4j.com.RequestContext context, org.neo4j.com.storecopy.ResponseUnpacker.TxHandler txHandler)
org.neo4j.com.Response<Void> copyStore(org.neo4j.com.RequestContext context, org.neo4j.com.storecopy.StoreWriter writer)
void setComExceptionHandler(org.neo4j.com.ComExceptionHandler handler)
org.neo4j.com.ProtocolVersion getProtocolVersion()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.