
public interface ORemoteTask
| Modifier and Type | Interface and Description |
|---|---|
static class |
ORemoteTask.RESULT_STRATEGY |
boolean hasResponse()
default void received(ODistributedRequest request, ODistributedDatabase distributedDatabase)
String getName()
OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
Exceptionint[] getPartitionKey()
long getDistributedTimeout()
long getSynchronousTimeout(int iSynchNodes)
long getTotalTimeout(int iTotalNodes)
ORemoteTask.RESULT_STRATEGY getResultStrategy()
String getNodeSource()
void setNodeSource(String nodeSource)
boolean isIdempotent()
boolean isNodeOnlineRequired()
boolean isUsingDatabase()
int getFactoryId()
void checkIsValid(ODistributedServerManager dManager)
void toStream(DataOutput out) throws IOException
IOExceptionvoid fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
IOExceptiondefault void finished(ODistributedDatabase distributedDatabase)
Copyright © 2009–2025 OrientDB. All rights reserved.