
public class OTransactionPhase2Task extends OAbstractReplicatedTask implements OLockKeySource
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
lastLSNALL, ANY, FAST_NOLOCK, nodeSource| Constructor and Description |
|---|
OTransactionPhase2Task() |
OTransactionPhase2Task(ODistributedRequestId firstPhaseId,
boolean success,
SortedSet<ORID> rids,
SortedSet<OTransactionUniqueKey> uniqueIndexKeys,
OLogSequenceNumber lsn,
OTransactionId transactionId) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
int |
getFactoryId() |
ODistributedRequestId |
getFirstPhaseId() |
OLogSequenceNumber |
getLastLSN() |
String |
getName() |
int[] |
getPartitionKey() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
int |
getRetryCount() |
SortedSet<ORID> |
getRids() |
OTransactionId |
getTransactionId() |
SortedSet<OTransactionUniqueKey> |
getUniqueKeys() |
boolean |
hasResponse() |
boolean |
isIdempotent() |
static void |
readTxUniqueIndexKeys(SortedSet<OTransactionUniqueKey> uniqueIndexKeys,
ORecordSerializerNetworkV37 serializer,
DataInput in) |
void |
toStream(DataOutput out) |
static void |
writeTxUniqueIndexKeys(SortedSet<OTransactionUniqueKey> uniqueIndexKeys,
ORecordSerializerNetworkV37 serializer,
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 firstPhaseId, boolean success, SortedSet<ORID> rids, SortedSet<OTransactionUniqueKey> uniqueIndexKeys, OLogSequenceNumber lsn, OTransactionId transactionId)
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 static void readTxUniqueIndexKeys(SortedSet<OTransactionUniqueKey> uniqueIndexKeys, ORecordSerializerNetworkV37 serializer, DataInput in) throws IOException
IOExceptionpublic void toStream(DataOutput out) throws IOException
toStream in interface ORemoteTasktoStream in class OAbstractRemoteTaskIOExceptionpublic static void writeTxUniqueIndexKeys(SortedSet<OTransactionUniqueKey> uniqueIndexKeys, ORecordSerializerNetworkV37 serializer, DataOutput out) throws IOException
IOExceptionpublic Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionpublic int getRetryCount()
public ODistributedRequestId getFirstPhaseId()
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()
getFactoryId in interface ORemoteTaskpublic int[] getPartitionKey()
getPartitionKey in interface ORemoteTaskgetPartitionKey in class OAbstractRemoteTaskpublic SortedSet<ORID> getRids()
getRids in interface OLockKeySourcepublic SortedSet<OTransactionUniqueKey> getUniqueKeys()
getUniqueKeys in interface OLockKeySourcepublic OTransactionId getTransactionId()
getTransactionId in interface OLockKeySourceCopyright © 2009–2025 OrientDB. All rights reserved.