
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) |
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() |
void |
setNodeSource(String nodeSource) |
void |
toStream(DataOutput out) |
boolean hasResponse()
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
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.