
public class OTransactionOptimisticServer
extends com.orientechnologies.orient.core.tx.OTransactionOptimistic
allEntries, changedDocuments, id, indexEntries, newObjectCounter, recordIndexOperations, updatedRids, userData| Constructor and Description |
|---|
OTransactionOptimisticServer(ODatabaseDocumentInternal database,
int txId,
boolean usingLong,
List<ORecordOperationRequest> operations,
List<IndexChange> indexChanges) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIndexEntry(com.orientechnologies.orient.core.index.OIndex<?> delegate,
String iIndexName,
com.orientechnologies.orient.core.tx.OTransactionIndexChanges.OPERATION iOperation,
Object key,
com.orientechnologies.orient.core.db.record.OIdentifiable iValue) |
void |
addIndexEntry(com.orientechnologies.orient.core.index.OIndex<?> delegate,
String iIndexName,
com.orientechnologies.orient.core.tx.OTransactionIndexChanges.OPERATION iOperation,
Object key,
com.orientechnologies.orient.core.db.record.OIdentifiable iValue,
boolean clientTrackOnly) |
com.orientechnologies.orient.core.db.record.ORecordOperation |
addRecord(com.orientechnologies.orient.core.record.ORecord iRecord,
byte iStatus,
String iClusterName) |
void |
addRecord(com.orientechnologies.orient.core.record.ORecord iRecord,
byte iStatus,
String iClusterName,
Map<com.orientechnologies.orient.core.id.ORID,com.orientechnologies.orient.core.db.record.ORecordOperation> oldTx) |
void |
assignClusters() |
void |
begin() |
int |
getClientTransactionId() |
Map<com.orientechnologies.orient.core.id.ORecordId,com.orientechnologies.orient.core.record.ORecord> |
getCreatedRecords() |
Set<com.orientechnologies.orient.core.id.ORID> |
getDeletedRecord() |
com.orientechnologies.orient.core.record.ORecord |
getRecord(com.orientechnologies.orient.core.id.ORID rid) |
Map<com.orientechnologies.orient.core.id.ORecordId,com.orientechnologies.orient.core.record.ORecord> |
getUpdatedRecords() |
amountOfNestedTxs, commit, commit, deleteRecord, internalRollback, isAlreadyCleared, isChanged, isUsingLog, loadRecord, loadRecord, loadRecord, loadRecordIfVersionIsNotLatest, reloadRecord, reloadRecord, resetChangesTracking, rollback, rollback, saveRecord, setStatus, setUsingLog, toStringaddChangedDocument, checkTransaction, clearIndexEntries, clearRecordEntries, close, getCurrentRecordEntries, getCustomData, getEntryCount, getId, getIndexChanges, getIndexChanges, getIndexChangesInternal, getIndexOperations, getInvolvedIndexes, getNewObjectCounter, getNewRecordEntriesByClass, getNewRecordEntriesByClusterIds, getRecordEntry, getRecordOperations, getUpdatedRids, hasRecordCreation, restore, serializeIndexChangeEntry, setCustomData, updateIdentityAfterCommitgetClusterName, getDatabase, getIsolationLevel, getLockedRecords, getStatus, isActive, isLockedRecord, lockingStrategy, lockRecord, setIsolationLevel, unlockRecord, updateCacheFromEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic OTransactionOptimisticServer(ODatabaseDocumentInternal database, int txId, boolean usingLong, List<ORecordOperationRequest> operations, List<IndexChange> indexChanges)
public int getClientTransactionId()
public void begin()
begin in interface com.orientechnologies.orient.core.tx.OTransactionbegin in class com.orientechnologies.orient.core.tx.OTransactionOptimisticpublic com.orientechnologies.orient.core.record.ORecord getRecord(com.orientechnologies.orient.core.id.ORID rid)
getRecord in interface com.orientechnologies.orient.core.storage.OBasicTransactiongetRecord in class com.orientechnologies.orient.core.tx.OTransactionRealAbstractpublic Map<com.orientechnologies.orient.core.id.ORecordId,com.orientechnologies.orient.core.record.ORecord> getCreatedRecords()
public Map<com.orientechnologies.orient.core.id.ORecordId,com.orientechnologies.orient.core.record.ORecord> getUpdatedRecords()
public Set<com.orientechnologies.orient.core.id.ORID> getDeletedRecord()
public com.orientechnologies.orient.core.db.record.ORecordOperation addRecord(com.orientechnologies.orient.core.record.ORecord iRecord, byte iStatus, String iClusterName)
addRecord in class com.orientechnologies.orient.core.tx.OTransactionOptimisticpublic void addRecord(com.orientechnologies.orient.core.record.ORecord iRecord,
byte iStatus,
String iClusterName,
Map<com.orientechnologies.orient.core.id.ORID,com.orientechnologies.orient.core.db.record.ORecordOperation> oldTx)
public void assignClusters()
public void addIndexEntry(com.orientechnologies.orient.core.index.OIndex<?> delegate,
String iIndexName,
com.orientechnologies.orient.core.tx.OTransactionIndexChanges.OPERATION iOperation,
Object key,
com.orientechnologies.orient.core.db.record.OIdentifiable iValue)
addIndexEntry in interface com.orientechnologies.orient.core.storage.OBasicTransactionaddIndexEntry in class com.orientechnologies.orient.core.tx.OTransactionRealAbstractpublic void addIndexEntry(com.orientechnologies.orient.core.index.OIndex<?> delegate,
String iIndexName,
com.orientechnologies.orient.core.tx.OTransactionIndexChanges.OPERATION iOperation,
Object key,
com.orientechnologies.orient.core.db.record.OIdentifiable iValue,
boolean clientTrackOnly)
addIndexEntry in class com.orientechnologies.orient.core.tx.OTransactionOptimisticCopyright © 2009–2018 OrientDB. All rights reserved.