
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, nodeSource| Constructor and Description |
|---|
OReadRecordIfNotLatestTask() |
OReadRecordIfNotLatestTask(com.orientechnologies.orient.core.id.ORecordId iRid,
int recordVersion) |
| Modifier and Type | Method and Description |
|---|---|
Object |
executeRecordTask(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
int |
getFactoryId() |
String |
getName() |
void |
toStream(DataOutput out) |
getQuorumType, getRecord, isIdempotent, toStringcheckForClusterAvailability, checkRecordExists, execute, getPartitionKey, getRid, getVersion, prepareUndoOperation, setLastLSN, setLockRecordsgetFixTask, getLastLSN, getUndoTaskgetDistributedTimeout, getNodeSource, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isNodeOnlineRequired, isUsingDatabase, setNodeSourcepublic static final int FACTORYID
protected int recordVersion
public OReadRecordIfNotLatestTask()
public OReadRecordIfNotLatestTask(com.orientechnologies.orient.core.id.ORecordId iRid,
int recordVersion)
public Object executeRecordTask(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, com.orientechnologies.orient.core.db.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–2017 OrientDB. All rights reserved.