Class OSynchronizedTaskWrapper
java.lang.Object
com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
com.orientechnologies.orient.server.distributed.impl.OSynchronizedTaskWrapper
- All Implemented Interfaces:
ORemoteTask
Task wrapper to manage synchronized operations like transactions.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.server.distributed.task.ORemoteTask
ORemoteTask.RESULT_STRATEGY -
Field Summary
Fields inherited from class com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
nodeSource -
Constructor Summary
ConstructorsConstructorDescriptionOSynchronizedTaskWrapper(CountDownLatch iLatch, String iNodeName, ORemoteTask iTask) -
Method Summary
Modifier and TypeMethodDescriptionexecute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) intgetName()booleanbooleantoString()Methods inherited from class com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
fromStream, getDistributedTimeout, getNodeSource, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isIdempotent, isNodeOnlineRequired, setNodeSource, toStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.server.distributed.task.ORemoteTask
finished, received
-
Constructor Details
-
OSynchronizedTaskWrapper
-
OSynchronizedTaskWrapper
-
-
Method Details
-
getName
-
getQuorumType
-
execute
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception - Throws:
Exception
-
getFactoryId
public int getFactoryId() -
toString
- Overrides:
toStringin classOAbstractRemoteTask
-
isUsingDatabase
public boolean isUsingDatabase()- Specified by:
isUsingDatabasein interfaceORemoteTask- Overrides:
isUsingDatabasein classOAbstractRemoteTask
-
hasResponse
public boolean hasResponse()- Specified by:
hasResponsein interfaceORemoteTask- Overrides:
hasResponsein classOAbstractRemoteTask
-