public class OTransactionPhase2Task extends OAbstractReplicatedTask
ORemoteTask.RESULT_STRATEGY
Modifier and Type | Field and Description |
---|---|
static int |
FACTORYID |
lastLSN
ALL, 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, getUndoTask
checkIsValid, getDistributedTimeout, getNodeSource, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isNodeOnlineRequired, isUsingDatabase, setNodeSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finished, received
public static final int FACTORYID
public OTransactionPhase2Task(ODistributedRequestId transactionId, boolean success, int[] involvedClusters, OLogSequenceNumber lsn)
public OTransactionPhase2Task()
public String getName()
getName
in interface ORemoteTask
getName
in class OAbstractRemoteTask
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType
in interface ORemoteTask
getQuorumType
in class OAbstractRemoteTask
public void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream
in interface ORemoteTask
fromStream
in class OAbstractRemoteTask
IOException
public void toStream(DataOutput out) throws IOException
toStream
in interface ORemoteTask
toStream
in class OAbstractRemoteTask
IOException
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute
in interface ORemoteTask
execute
in class OAbstractRemoteTask
Exception
public int getRetryCount()
public ODistributedRequestId getTransactionId()
public OLogSequenceNumber getLastLSN()
getLastLSN
in class OAbstractReplicatedTask
public boolean isIdempotent()
isIdempotent
in interface ORemoteTask
isIdempotent
in class OAbstractRemoteTask
public boolean hasResponse()
hasResponse
in interface ORemoteTask
hasResponse
in class OAbstractRemoteTask
public int getFactoryId()
public int[] getPartitionKey()
getPartitionKey
in interface ORemoteTask
getPartitionKey
in class OAbstractRemoteTask
Copyright © 2009–2020 OrientDB. All rights reserved.