public interface ODistributedTxContext
Modifier and Type | Method and Description |
---|---|
void |
begin(ODatabaseDocumentInternal distributed,
boolean local) |
Set<ORecordId> |
cancel(ODistributedServerManager current,
ODatabaseDocumentInternal database) |
void |
clearUndo() |
void |
commit(ODatabaseDocumentInternal database) |
void |
destroy() |
ODistributedRequestId |
getReqId() |
long |
getStartedOn() |
OTransactionInternal |
getTransaction() |
OTransactionId |
getTransactionId() |
void |
lock(ORID rid) |
void |
lock(ORID rid,
long timeout) |
void |
lockIndexKey(Object rid) |
Set<ORecordId> |
rollback(ODatabaseDocumentInternal database) |
void |
unlock() |
void lock(ORID rid)
void lock(ORID rid, long timeout)
void lockIndexKey(Object rid)
ODistributedRequestId getReqId()
void commit(ODatabaseDocumentInternal database)
Set<ORecordId> rollback(ODatabaseDocumentInternal database)
void destroy()
void clearUndo()
void unlock()
long getStartedOn()
Set<ORecordId> cancel(ODistributedServerManager current, ODatabaseDocumentInternal database)
OTransactionInternal getTransaction()
OTransactionId getTransactionId()
void begin(ODatabaseDocumentInternal distributed, boolean local)
Copyright © 2009–2020 OrientDB. All rights reserved.