
public interface ODistributedTxContext
| Modifier and Type | Method and Description |
|---|---|
void |
addUndoTask(ORemoteTask undoTask) |
void |
begin(ODatabaseDocumentInternal distributed,
boolean local) |
Set<com.orientechnologies.orient.core.id.ORecordId> |
cancel(ODistributedServerManager current,
ODatabaseDocumentInternal database) |
void |
clearUndo() |
void |
commit(ODatabaseDocumentInternal database) |
void |
destroy() |
void |
fix(ODatabaseDocumentInternal database,
List<ORemoteTask> fixTasks) |
ODistributedRequestId |
getReqId() |
long |
getStartedOn() |
com.orientechnologies.orient.core.tx.OTransactionInternal |
getTransaction() |
boolean |
isCanceled() |
void |
lock(com.orientechnologies.orient.core.id.ORID rid) |
void |
lock(com.orientechnologies.orient.core.id.ORID rid,
long timeout) |
void |
lockIndexKey(Object rid) |
Set<com.orientechnologies.orient.core.id.ORecordId> |
rollback(ODatabaseDocumentInternal database) |
void |
unlock() |
void lock(com.orientechnologies.orient.core.id.ORID rid)
void lock(com.orientechnologies.orient.core.id.ORID rid,
long timeout)
void lockIndexKey(Object rid)
void addUndoTask(ORemoteTask undoTask)
ODistributedRequestId getReqId()
void commit(ODatabaseDocumentInternal database)
void fix(ODatabaseDocumentInternal database, List<ORemoteTask> fixTasks)
Set<com.orientechnologies.orient.core.id.ORecordId> rollback(ODatabaseDocumentInternal database)
void destroy()
void clearUndo()
void unlock()
long getStartedOn()
Set<com.orientechnologies.orient.core.id.ORecordId> cancel(ODistributedServerManager current, ODatabaseDocumentInternal database)
boolean isCanceled()
com.orientechnologies.orient.core.tx.OTransactionInternal getTransaction()
void begin(ODatabaseDocumentInternal distributed, boolean local)
Copyright © 2009–2018 OrientDB. All rights reserved.