
public abstract class OAbstractRecordReplicatedTask extends OAbstractReplicatedTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
protected com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber |
lastLSN |
protected boolean |
lockRecords |
protected int |
partitionKey |
protected com.orientechnologies.orient.core.record.ORecord |
previousRecord |
protected com.orientechnologies.orient.core.id.ORecordId |
rid |
protected int |
version |
nodeSource| Modifier | Constructor and Description |
|---|---|
|
OAbstractRecordReplicatedTask() |
protected |
OAbstractRecordReplicatedTask(com.orientechnologies.orient.core.record.ORecord record) |
protected |
OAbstractRecordReplicatedTask(com.orientechnologies.orient.core.id.ORecordId iRid,
int iVersion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkForClusterAvailability(String localNode,
ODistributedConfiguration cfg) |
void |
checkRecordExists() |
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx database) |
abstract Object |
executeRecordTask(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx database) |
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber |
getLastLSN() |
int |
getPartitionKey() |
String |
getPayload() |
abstract com.orientechnologies.orient.core.record.ORecord |
getRecord() |
com.orientechnologies.orient.core.id.ORecordId |
getRid() |
int |
getVersion() |
com.orientechnologies.orient.core.record.ORecord |
prepareUndoOperation() |
void |
readExternal(ObjectInput in) |
void |
setLastLSN(com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber lastLSN) |
void |
setLockRecords(boolean lockRecords) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
getFixTask, getUndoTaskgetDistributedTimeout, getName, getNodeSource, getQuorumType, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isIdempotent, isNodeOnlineRequired, setNodeSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFactoryIdprotected com.orientechnologies.orient.core.id.ORecordId rid
protected int version
protected int partitionKey
protected boolean lockRecords
protected com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber lastLSN
protected transient com.orientechnologies.orient.core.record.ORecord previousRecord
public OAbstractRecordReplicatedTask()
protected OAbstractRecordReplicatedTask(com.orientechnologies.orient.core.record.ORecord record)
protected OAbstractRecordReplicatedTask(com.orientechnologies.orient.core.id.ORecordId iRid,
int iVersion)
public abstract Object executeRecordTask(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx database) throws Exception
Exceptionpublic abstract com.orientechnologies.orient.core.record.ORecord getRecord()
public final Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionpublic int getPartitionKey()
getPartitionKey in interface ORemoteTaskgetPartitionKey in class OAbstractRemoteTaskpublic String toString()
toString in class OAbstractRemoteTaskpublic com.orientechnologies.orient.core.id.ORecordId getRid()
public int getVersion()
public boolean checkForClusterAvailability(String localNode, ODistributedConfiguration cfg)
public com.orientechnologies.orient.core.record.ORecord prepareUndoOperation()
public void checkRecordExists()
public com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber getLastLSN()
public void setLastLSN(com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber lastLSN)
public void writeExternal(ObjectOutput out) throws IOException
IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void setLockRecords(boolean lockRecords)
public String getPayload()
getPayload in class OAbstractReplicatedTaskCopyright © 2009–2016 Orient Technologies. All rights reserved.