
public class OTransactionOptimisticProxy extends OTransactionOptimistic
OTransactionAbstract.LockedRecordMetadataOTransaction.ISOLATION_LEVEL, OTransaction.TXSTATUS, OTransaction.TXTYPEchangedallEntries, changedDocuments, id, indexEntries, newObjectCounter, recordIndexOperations, updatedRids, userDatadatabase, isolationLevel, locks, statusDELETED_RECORD| Constructor and Description |
|---|
OTransactionOptimisticProxy(ODatabaseDocumentInternal database,
int txId,
boolean usingLong,
List<ORecordOperationRequest> operations,
ODocument indexChanges,
short protocolVersion,
ORecordSerializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
Map<ORecordId,ORecord> |
getCreatedRecords() |
ORecord |
getRecord(ORID rid)
Resolves a record with the given RID in the context of this transaction.
|
Map<ORecordId,ORecord> |
getUpdatedRecords() |
addIndexEntry, addRecord, amountOfNestedTxs, commit, commit, deleteRecord, fill, getLockedRecords, getSentToServer, internalRollback, isAlreadyCleared, isChanged, isUsingLog, loadRecord, loadRecord, loadRecord, loadRecordIfVersionIsNotLatest, reloadRecord, reloadRecord, resetChangesTracking, resolveTracking, rollback, rollback, saveRecord, setSentToServer, setStatus, setUsingLog, toStringaddChangedDocument, addIndexEntry, checkTransaction, clearIndexEntries, clearRecordEntries, close, getCurrentRecordEntries, getCustomData, getEntryCount, getId, getIndexChanges, getIndexChanges, getIndexChangesInternal, getIndexOperations, getInvolvedIndexes, getMetadata, getNewObjectCounter, getNewRecordEntriesByClass, getNewRecordEntriesByClusterIds, getNoTxLocks, getRecordEntry, getRecordOperations, getSerializedOperations, getUpdatedRids, prepareSerializedOperations, resetAllocatedIds, restore, serializeIndexChangeEntry, setCustomData, setMetadataHolder, setNoTxLocks, storageBegun, updateIdentityAfterCommitgetDatabase, getInternalLocks, getIsolationLevel, getStatus, isActive, isLockedRecord, lockingStrategy, lockRecord, setDatabase, setIsolationLevel, setLocks, trackLockedRecord, trackUnlockRecord, unlockRecord, updateCacheFromEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDatabase, isSequenceTransaction, setDatabasegetClientTransactionId, isActivepublic OTransactionOptimisticProxy(ODatabaseDocumentInternal database, int txId, boolean usingLong, List<ORecordOperationRequest> operations, ODocument indexChanges, short protocolVersion, ORecordSerializer serializer)
public void begin()
begin in interface OTransactionbegin in class OTransactionOptimisticpublic ORecord getRecord(ORID rid)
OBasicTransactiongetRecord in interface OBasicTransactiongetRecord in class OTransactionRealAbstractrid - the record RID.null if no record is found, or OBasicTransaction.DELETED_RECORD
if the record was deleted in this transaction.Copyright © 2009–2025 OrientDB. All rights reserved.