public class OSynchronizedTaskWrapper extends OAbstractRemoteTask
ORemoteTask.RESULT_STRATEGY
ALL, ANY, FAST_NOLOCK, LOCK, nodeSource
Constructor and Description |
---|
OSynchronizedTaskWrapper(CountDownLatch iLatch) |
OSynchronizedTaskWrapper(CountDownLatch iLatch,
String iNodeName,
ORemoteTask iTask) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
int |
getFactoryId() |
String |
getName() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
boolean |
hasResponse() |
boolean |
isUsingDatabase() |
String |
toString() |
checkIsValid, fromStream, getDistributedTimeout, getNodeSource, getPartitionKey, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isIdempotent, isNodeOnlineRequired, setNodeSource, toStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finished, received
public OSynchronizedTaskWrapper(CountDownLatch iLatch, String iNodeName, ORemoteTask iTask)
public OSynchronizedTaskWrapper(CountDownLatch iLatch)
public String getName()
getName
in interface ORemoteTask
getName
in class OAbstractRemoteTask
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType
in interface ORemoteTask
getQuorumType
in class OAbstractRemoteTask
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute
in interface ORemoteTask
execute
in class OAbstractRemoteTask
Exception
public int getFactoryId()
public String toString()
toString
in class OAbstractRemoteTask
public boolean isUsingDatabase()
isUsingDatabase
in interface ORemoteTask
isUsingDatabase
in class OAbstractRemoteTask
public boolean hasResponse()
hasResponse
in interface ORemoteTask
hasResponse
in class OAbstractRemoteTask
Copyright © 2009–2020 OrientDB. All rights reserved.