
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, FAST_NOLOCK, LOCK, nodeSource| Constructor and Description |
|---|
ORepairClusterTask() |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
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() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
ORemoteTask.RESULT_STRATEGY |
getResultStrategy() |
ORemoteTask |
getUndoTask(ODistributedServerManager dManager,
ODistributedRequestId reqId,
List<String> servers) |
ORepairClusterTask |
init(int clusterId) |
void |
toStream(DataOutput out) |
getInvolvedRecords, getRecordLockadd, getDistributedTimeout, getPartitionKey, getTasks, isIdempotent, setLastLSN, setLocalUndoTasks, setNodeSource, toStringgetLastLSNcheckIsValid, getNodeSource, getSynchronousTimeout, getTotalTimeout, hasResponse, isNodeOnlineRequired, isUsingDatabasepublic static final int FACTORYID
public ORepairClusterTask init(int clusterId)
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, 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 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(ODistributedServerManager dManager, ODistributedRequestId reqId, List<String> servers)
getUndoTask in class OAbstract2pcTaskpublic ORemoteTask getFixTask(ODistributedRequest iRequest, ORemoteTask iOriginalTask, Object iBadResponse, Object iGoodResponse, String executorNodeName, ODistributedServerManager dManager)
getFixTask in class OAbstract2pcTaskCopyright © 2009–2025 OrientDB. All rights reserved.