Class OSQLCommandTaskSecondPhase
java.lang.Object
com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
com.orientechnologies.orient.server.distributed.impl.task.OSQLCommandTaskSecondPhase
- All Implemented Interfaces:
ORemoteTask
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.server.distributed.task.ORemoteTask
ORemoteTask.RESULT_STRATEGY -
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
nodeSource -
Constructor Summary
ConstructorsConstructorDescriptionOSQLCommandTaskSecondPhase(ODistributedRequestId confirmSentRequest, boolean apply) -
Method Summary
Modifier and TypeMethodDescriptionexecute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) voidfromStream(DataInput in, ORemoteTaskFactory factory) intgetName()booleanisApply()voidtoStream(DataOutput out) Methods inherited from class com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
getDistributedTimeout, getNodeSource, getResultStrategy, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isNodeOnlineRequired, isUsingDatabase, setNodeSource, toStringMethods 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
-
Field Details
-
FACTORYID
public static final int FACTORYID- See Also:
-
-
Constructor Details
-
OSQLCommandTaskSecondPhase
public OSQLCommandTaskSecondPhase() -
OSQLCommandTaskSecondPhase
-
-
Method Details
-
getName
-
getQuorumType
-
execute
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception - Throws:
Exception
-
toStream
- Specified by:
toStreamin interfaceORemoteTask- Overrides:
toStreamin classOAbstractRemoteTask- Throws:
IOException
-
fromStream
- Specified by:
fromStreamin interfaceORemoteTask- Overrides:
fromStreamin classOAbstractRemoteTask- Throws:
IOException
-
getFactoryId
public int getFactoryId() -
getConfirmSentRequest
-
isApply
public boolean isApply()
-