Class OStopServerTask
java.lang.Object
com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
com.orientechnologies.orient.server.distributed.impl.task.OStopServerTask
- All Implemented Interfaces:
ORemoteTask
Distributed task to stop a server.
- 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ODistributedRequestId requestId, OServer iServer, ODatabaseDocumentInternal database) intgetName()booleanMethods inherited from class com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
fromStream, getDistributedTimeout, getResultStrategy, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isNodeOnlineRequired, toStream, 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
-
OStopServerTask
public OStopServerTask()
-
-
Method Details
-
execute
public Object execute(ODistributedRequestId requestId, OServer iServer, ODatabaseDocumentInternal database) throws Exception - Throws:
Exception
-
getQuorumType
-
getName
-
getFactoryId
public int getFactoryId() -
isUsingDatabase
public boolean isUsingDatabase()- Specified by:
isUsingDatabasein interfaceORemoteTask- Overrides:
isUsingDatabasein classOAbstractRemoteTask
-