
public class OCompletedTxTask extends OAbstractReplicatedTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
nodeSource| Constructor and Description |
|---|
OCompletedTxTask() |
OCompletedTxTask(ODistributedRequestId iRequestId,
boolean iSuccess) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFixTask(ORemoteTask fixTask) |
Object |
execute(ODistributedRequestId msgId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentTx database) |
long |
getDistributedTimeout()
Computes the timeout according to the transaction size.
|
int |
getFactoryId() |
String |
getName() |
String |
getPayload() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
getFixTask, getUndoTaskgetNodeSource, getPartitionKey, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isIdempotent, isNodeOnlineRequired, setNodeSourcepublic static final int FACTORYID
public OCompletedTxTask()
public OCompletedTxTask(ODistributedRequestId iRequestId, boolean iSuccess)
public void addFixTask(ORemoteTask fixTask)
public Object execute(ODistributedRequestId msgId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentTx database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionpublic OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface ORemoteTaskgetQuorumType in class OAbstractRemoteTaskpublic void writeExternal(ObjectOutput out) throws IOException
IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic long getDistributedTimeout()
getDistributedTimeout in interface ORemoteTaskgetDistributedTimeout in class OAbstractRemoteTaskpublic String getName()
getName in interface ORemoteTaskgetName in class OAbstractRemoteTaskpublic String getPayload()
getPayload in class OAbstractReplicatedTaskpublic int getFactoryId()
public String toString()
toString in class OAbstractRemoteTaskCopyright © 2009–2016 Orient Technologies. All rights reserved.