
public class ORestartServerTask extends OAbstractRemoteTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
nodeSource| Constructor and Description |
|---|
ORestartServerTask() |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentTx database) |
int |
getFactoryId() |
String |
getName() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
getDistributedTimeout, getNodeSource, getPartitionKey, getResultStrategy, getSynchronousTimeout, getTotalTimeout, isIdempotent, isNodeOnlineRequired, setNodeSource, toStringpublic static final int FACTORYID
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentTx database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionpublic OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface ORemoteTaskgetQuorumType in class OAbstractRemoteTaskpublic String getName()
getName in interface ORemoteTaskgetName in class OAbstractRemoteTaskpublic void writeExternal(ObjectOutput out) throws IOException
IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic int getFactoryId()
Copyright © 2009–2016 Orient Technologies. All rights reserved.