
public class ODistributedTxContextImpl extends Object implements ODistributedTxContext
| Constructor and Description |
|---|
ODistributedTxContextImpl(ODistributedDatabase iDatabase,
ODistributedRequestId iRequestId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUndoTask(ORemoteTask undoTask) |
void |
commit() |
void |
destroy() |
void |
fix(com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database,
List<ORemoteTask> fixTasks) |
ODistributedRequestId |
getReqId() |
long |
getStartedOn() |
void |
lock(com.orientechnologies.orient.core.id.ORID rid) |
void |
lock(com.orientechnologies.orient.core.id.ORID rid,
long timeout) |
int |
rollback(com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database) |
String |
toString() |
void |
unlock() |
public ODistributedTxContextImpl(ODistributedDatabase iDatabase, ODistributedRequestId iRequestId)
public void lock(com.orientechnologies.orient.core.id.ORID rid)
lock in interface ODistributedTxContextpublic void lock(com.orientechnologies.orient.core.id.ORID rid,
long timeout)
lock in interface ODistributedTxContextpublic ODistributedRequestId getReqId()
getReqId in interface ODistributedTxContextpublic void addUndoTask(ORemoteTask undoTask)
addUndoTask in interface ODistributedTxContextpublic void commit()
commit in interface ODistributedTxContextpublic void fix(com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database,
List<ORemoteTask> fixTasks)
fix in interface ODistributedTxContextpublic int rollback(com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database)
rollback in interface ODistributedTxContextpublic void destroy()
destroy in interface ODistributedTxContextpublic void unlock()
unlock in interface ODistributedTxContextpublic long getStartedOn()
getStartedOn in interface ODistributedTxContextCopyright © 2009–2017 OrientDB. All rights reserved.