
public class OReadRecordIfNotLatestTask extends OAbstractReadRecordTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
protected int |
recordVersion |
lockRecords, partitionKey, previousRecord, rid, versionlastLSNALL, ANY, FAST_NOLOCK, LOCK, nodeSource| Constructor and Description |
|---|
OReadRecordIfNotLatestTask() |
| Modifier and Type | Method and Description |
|---|---|
Object |
executeRecordTask(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
int |
getFactoryId() |
String |
getName() |
OReadRecordIfNotLatestTask |
init(ORecordId rid,
int recordVersion) |
void |
toStream(DataOutput out) |
getQuorumType, getRecord, init, toStringcheckForClusterAvailability, checkRecordExists, execute, getPartitionKey, getRid, getVersion, init, prepareUndoOperation, setLastLSN, setLockRecordsgetFixTask, getLastLSN, getUndoTaskcheckIsValid, getDistributedTimeout, getNodeSource, getResultStrategy, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isNodeOnlineRequired, isUsingDatabase, setNodeSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfinished, receivedpublic static final int FACTORYID
protected int recordVersion
public OReadRecordIfNotLatestTask init(ORecordId rid, int recordVersion)
init in class OAbstractRecordReplicatedTaskpublic Object executeRecordTask(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
executeRecordTask in class OAbstractReadRecordTaskExceptionpublic void toStream(DataOutput out) throws IOException
toStream in interface ORemoteTasktoStream in class OAbstractReadRecordTaskIOExceptionpublic void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream in interface ORemoteTaskfromStream in class OAbstractReadRecordTaskIOExceptionpublic String getName()
getName in interface ORemoteTaskgetName in class OAbstractRemoteTaskpublic int getFactoryId()
Copyright © 2009–2025 OrientDB. All rights reserved.