public interface ORemoteTask
Modifier and Type | Interface and Description |
---|---|
static class |
ORemoteTask.RESULT_STRATEGY |
Modifier and Type | Method and Description |
---|---|
void |
checkIsValid(ODistributedServerManager dManager)
Checks the request is still valid.
|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
default void |
finished() |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
long |
getDistributedTimeout() |
int |
getFactoryId() |
String |
getName() |
String |
getNodeSource() |
int[] |
getPartitionKey() |
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(String nodeSource) |
void |
toStream(DataOutput out) |
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
Exception
int[] 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
IOException
void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
IOException
default void finished()
Copyright © 2009–2020 OrientDB. All rights reserved.