
public interface ORemoteTask
| Modifier and Type | Interface and Description |
|---|---|
static class |
ORemoteTask.RESULT_STRATEGY |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
long |
getDistributedTimeout() |
int |
getFactoryId() |
String |
getName() |
String |
getNodeSource() |
int[] |
getPartitionKey() |
com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
ORemoteTask.RESULT_STRATEGY |
getResultStrategy() |
long |
getSynchronousTimeout(int iSynchNodes) |
long |
getTotalTimeout(int iTotalNodes) |
boolean |
isIdempotent() |
boolean |
isNodeOnlineRequired() |
boolean |
isUsingDatabase() |
void |
setNodeSource(String nodeSource) |
void |
toStream(DataOutput out) |
String getName()
com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, com.orientechnologies.orient.core.db.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 toStream(DataOutput out) throws IOException
IOExceptionvoid fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
IOExceptionCopyright © 2009–2016 OrientDB. All rights reserved.