
public class ORepairClusterTask extends OTxTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
localUndoTasks, NON_LOCAL_CLUSTER, result, serialVersionUID, taskslastLSNALL, ANY, nodeSource| Constructor and Description |
|---|
ORepairClusterTask() |
ORepairClusterTask(int clusterId) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
int |
getFactoryId() |
ORemoteTask |
getFixTask(ODistributedRequest iRequest,
ORemoteTask iOriginalTask,
Object iBadResponse,
Object iGoodResponse,
String executorNodeName,
ODistributedServerManager dManager) |
String |
getName() |
com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
ORemoteTask.RESULT_STRATEGY |
getResultStrategy() |
ORemoteTask |
getUndoTask(ODistributedRequestId reqId) |
void |
toStream(DataOutput out) |
getRecordLockadd, getDistributedTimeout, getPartitionKey, getTasks, setLastLSN, setLocalUndoTasks, setNodeSource, toStringgetLastLSNgetNodeSource, getSynchronousTimeout, getTotalTimeout, isIdempotent, isNodeOnlineRequired, isUsingDatabasepublic static final int FACTORYID
public ORepairClusterTask()
public ORepairClusterTask(int clusterId)
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database) throws Exception
execute in interface ORemoteTaskexecute in class OTxTaskExceptionpublic void toStream(DataOutput out) throws IOException
toStream in interface ORemoteTasktoStream in class OAbstract2pcTaskIOExceptionpublic void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream in interface ORemoteTaskfromStream in class OAbstract2pcTaskIOExceptionpublic com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface ORemoteTaskgetQuorumType in class OAbstract2pcTaskpublic ORemoteTask.RESULT_STRATEGY getResultStrategy()
getResultStrategy in interface ORemoteTaskgetResultStrategy in class OAbstractRemoteTaskpublic String getName()
getName in interface ORemoteTaskgetName in class OTxTaskpublic int getFactoryId()
getFactoryId in interface ORemoteTaskgetFactoryId in class OTxTaskpublic ORemoteTask getUndoTask(ODistributedRequestId reqId)
getUndoTask in class OAbstract2pcTaskpublic ORemoteTask getFixTask(ODistributedRequest iRequest, ORemoteTask iOriginalTask, Object iBadResponse, Object iGoodResponse, String executorNodeName, ODistributedServerManager dManager)
getFixTask in class OAbstract2pcTaskCopyright © 2009–2017 OrientDB. All rights reserved.