
public class OTransactionPhase2Task extends OAbstractReplicatedTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
lastLSNALL, ANY, FAST_NOLOCK, LOCK, nodeSource| Constructor and Description |
|---|
OTransactionPhase2Task() |
OTransactionPhase2Task(ODistributedRequestId transactionId,
boolean success,
int[] involvedClusters,
OLogSequenceNumber lsn) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
int |
getFactoryId() |
OLogSequenceNumber |
getLastLSN() |
String |
getName() |
int[] |
getPartitionKey() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
int |
getRetryCount() |
ODistributedRequestId |
getTransactionId() |
boolean |
hasResponse() |
boolean |
isIdempotent() |
void |
toStream(DataOutput out) |
getFixTask, getUndoTaskcheckIsValid, getDistributedTimeout, getNodeSource, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isNodeOnlineRequired, isUsingDatabase, setNodeSource, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfinished, receivedpublic static final int FACTORYID
public OTransactionPhase2Task(ODistributedRequestId transactionId, boolean success, int[] involvedClusters, OLogSequenceNumber lsn)
public OTransactionPhase2Task()
public String getName()
getName in interface ORemoteTaskgetName in class OAbstractRemoteTaskpublic OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface ORemoteTaskgetQuorumType in class OAbstractRemoteTaskpublic void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream in interface ORemoteTaskfromStream in class OAbstractRemoteTaskIOExceptionpublic void toStream(DataOutput out) throws IOException
toStream in interface ORemoteTasktoStream in class OAbstractRemoteTaskIOExceptionpublic Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionpublic int getRetryCount()
public ODistributedRequestId getTransactionId()
public OLogSequenceNumber getLastLSN()
getLastLSN in class OAbstractReplicatedTaskpublic boolean isIdempotent()
isIdempotent in interface ORemoteTaskisIdempotent in class OAbstractRemoteTaskpublic boolean hasResponse()
hasResponse in interface ORemoteTaskhasResponse in class OAbstractRemoteTaskpublic int getFactoryId()
public int[] getPartitionKey()
getPartitionKey in interface ORemoteTaskgetPartitionKey in class OAbstractRemoteTaskCopyright © 2009–2025 OrientDB. All rights reserved.