
public class NodeOperationTask extends Object implements ORemoteTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
| Constructor and Description |
|---|
NodeOperationTask() |
NodeOperationTask(NodeOperation task) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinished, receivedpublic static final int FACTORYID
public NodeOperationTask(NodeOperation task)
public NodeOperationTask()
public boolean hasResponse()
hasResponse in interface ORemoteTaskpublic String getName()
getName in interface ORemoteTaskpublic OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface ORemoteTaskpublic Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute in interface ORemoteTaskExceptionpublic int[] getPartitionKey()
getPartitionKey in interface ORemoteTaskpublic long getDistributedTimeout()
getDistributedTimeout in interface ORemoteTaskpublic long getSynchronousTimeout(int iSynchNodes)
getSynchronousTimeout in interface ORemoteTaskpublic long getTotalTimeout(int iTotalNodes)
getTotalTimeout in interface ORemoteTaskpublic ORemoteTask.RESULT_STRATEGY getResultStrategy()
getResultStrategy in interface ORemoteTaskpublic String getNodeSource()
getNodeSource in interface ORemoteTaskpublic void setNodeSource(String nodeSource)
setNodeSource in interface ORemoteTaskpublic boolean isIdempotent()
isIdempotent in interface ORemoteTaskpublic boolean isNodeOnlineRequired()
isNodeOnlineRequired in interface ORemoteTaskpublic boolean isUsingDatabase()
isUsingDatabase in interface ORemoteTaskpublic int getFactoryId()
getFactoryId in interface ORemoteTaskpublic void checkIsValid(ODistributedServerManager dManager)
ORemoteTaskcheckIsValid in interface ORemoteTaskpublic void toStream(DataOutput out) throws IOException
toStream in interface ORemoteTaskIOExceptionpublic void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream in interface ORemoteTaskIOExceptionpublic static void register(int messageId,
Callable<NodeOperation> requestFactory,
Callable<NodeOperationResponse> responseFactory)
public static NodeOperationResponse createOperationResponse(int messageId)
Copyright © 2009–2025 OrientDB. All rights reserved.