Class ODDLContextImpl
java.lang.Object
com.orientechnologies.orient.server.distributed.impl.ODDLContextImpl
- All Implemented Interfaces:
ODistributedTxContext
-
Constructor Summary
ConstructorsConstructorDescriptionODDLContextImpl(ODistributedDatabase shared, String query, OTransactionIdPromise preChangeId, OTransactionIdPromise afterChangeId, ODistributedRequestId requestId) -
Method Summary
Modifier and TypeMethodDescriptionacquireIndexKeyPromise(Object key, int version, boolean force) acquirePromise(ORID rid, int version, boolean force) voidbegin(ODatabaseDocumentInternal distributed, boolean local) cancel(ODistributedServerManager current, ODatabaseDocumentInternal database) voidvoidcommit(ODatabaseDocumentInternal database) voiddestroy()getQuery()getReqId()longvoidrollback(ODatabaseDocumentInternal database) voidsetStatus(TxContextStatus status)
-
Constructor Details
-
ODDLContextImpl
public ODDLContextImpl(ODistributedDatabase shared, String query, OTransactionIdPromise preChangeId, OTransactionIdPromise afterChangeId, ODistributedRequestId requestId)
-
-
Method Details
-
getReqId
- Specified by:
getReqIdin interfaceODistributedTxContext
-
commit
- Specified by:
commitin interfaceODistributedTxContext
-
rollback
- Specified by:
rollbackin interfaceODistributedTxContext
-
destroy
public void destroy()- Specified by:
destroyin interfaceODistributedTxContext
-
clearUndo
public void clearUndo()- Specified by:
clearUndoin interfaceODistributedTxContext
-
getStartedOn
public long getStartedOn()- Specified by:
getStartedOnin interfaceODistributedTxContext
-
cancel
- Specified by:
cancelin interfaceODistributedTxContext
-
getTransaction
- Specified by:
getTransactionin interfaceODistributedTxContext
-
getTransactionId
- Specified by:
getTransactionIdin interfaceODistributedTxContext
-
begin
- Specified by:
beginin interfaceODistributedTxContext
-
setStatus
-
getStatus
-
getPreChangeId
-
getAfterChangeId
-
getPreChangePromise
-
getAfterChangePromise
-
getQuery
-
acquirePromise
- Specified by:
acquirePromisein interfaceODistributedTxContext
-
acquireIndexKeyPromise
- Specified by:
acquireIndexKeyPromisein interfaceODistributedTxContext
-
releasePromises
public void releasePromises()- Specified by:
releasePromisesin interfaceODistributedTxContext
-