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