public class OUnreachableServerLocalTask extends OAbstractRemoteTask
ORemoteTask.RESULT_STRATEGY
Modifier and Type | Field and Description |
---|---|
static int |
FACTORYID |
ALL, ANY, FAST_NOLOCK, LOCK, nodeSource
Constructor and Description |
---|
OUnreachableServerLocalTask(String unreachableServer) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ODistributedRequestId msgId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
long |
getDistributedTimeout() |
int |
getFactoryId() |
String |
getName() |
int[] |
getPartitionKey()
Execute the task with no concurrency.
|
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
boolean |
hasResponse() |
boolean |
isNodeOnlineRequired() |
String |
toString() |
checkIsValid, fromStream, getNodeSource, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isIdempotent, isUsingDatabase, setNodeSource, toStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finished, received
public static final int FACTORYID
public OUnreachableServerLocalTask(String unreachableServer)
public int[] getPartitionKey()
getPartitionKey
in interface ORemoteTask
getPartitionKey
in class OAbstractRemoteTask
public Object execute(ODistributedRequestId msgId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute
in interface ORemoteTask
execute
in class OAbstractRemoteTask
Exception
public boolean hasResponse()
hasResponse
in interface ORemoteTask
hasResponse
in class OAbstractRemoteTask
public String getName()
getName
in interface ORemoteTask
getName
in class OAbstractRemoteTask
public long getDistributedTimeout()
getDistributedTimeout
in interface ORemoteTask
getDistributedTimeout
in class OAbstractRemoteTask
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType
in interface ORemoteTask
getQuorumType
in class OAbstractRemoteTask
public boolean isNodeOnlineRequired()
isNodeOnlineRequired
in interface ORemoteTask
isNodeOnlineRequired
in class OAbstractRemoteTask
public int getFactoryId()
public String toString()
toString
in class OAbstractRemoteTask
Copyright © 2009–2020 OrientDB. All rights reserved.