Class RuleAlteredJobAPIImpl
java.lang.Object
org.apache.shardingsphere.data.pipeline.core.api.impl.AbstractPipelineJobAPIImpl
org.apache.shardingsphere.data.pipeline.core.api.impl.RuleAlteredJobAPIImpl
- All Implemented Interfaces:
PipelineJobAPI,RuleAlteredJobAPI,org.apache.shardingsphere.spi.type.required.RequiredSPI
public final class RuleAlteredJobAPIImpl
extends AbstractPipelineJobAPIImpl
implements RuleAlteredJobAPI
Rule altered job API impl.
-
Field Summary
Fields inherited from class org.apache.shardingsphere.data.pipeline.core.api.impl.AbstractPipelineJobAPIImpl
DATE_TIME_FORMATTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaggregateDataConsistencyCheckResults(String jobId, Map<String, DataConsistencyCheckResult> checkResults) dataConsistencyCheck(String jobId) dataConsistencyCheck(String jobId, String algorithmType, Properties algorithmProps) dataConsistencyCheck(RuleAlteredJobConfiguration jobConfig) getJobConfig(String jobId) getProgress(String jobId) getProgress(RuleAlteredJobConfiguration jobConfig) booleanbooleanlist()voidvoidrestoreClusterWriteDB(String jobId) voidrestoreClusterWriteDB(String databaseName, String jobId) start(RuleAlteredJobConfiguration jobConfig) voidstopClusterWriteDB(String jobId) voidstopClusterWriteDB(String databaseName, String jobId) voidswitchClusterConfiguration(String jobId) voidMethods inherited from class org.apache.shardingsphere.data.pipeline.core.api.impl.AbstractPipelineJobAPIImpl
getElasticJobConfigPOJO, remove, startDisabledJob, stop, verifyJobNotStopped, verifyJobStoppedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.data.pipeline.api.PipelineJobAPI
remove, startDisabledJob, stopMethods inherited from interface org.apache.shardingsphere.spi.type.required.RequiredSPI
isDefault
-
Constructor Details
-
RuleAlteredJobAPIImpl
public RuleAlteredJobAPIImpl()
-
-
Method Details
-
list
- Specified by:
listin interfaceRuleAlteredJobAPI
-
start
- Specified by:
startin interfaceRuleAlteredJobAPI
-
getProgress
- Specified by:
getProgressin interfaceRuleAlteredJobAPI
-
getProgress
- Specified by:
getProgressin interfaceRuleAlteredJobAPI
-
stopClusterWriteDB
- Specified by:
stopClusterWriteDBin interfaceRuleAlteredJobAPI
-
stopClusterWriteDB
- Specified by:
stopClusterWriteDBin interfaceRuleAlteredJobAPI
-
restoreClusterWriteDB
- Specified by:
restoreClusterWriteDBin interfaceRuleAlteredJobAPI
-
restoreClusterWriteDB
- Specified by:
restoreClusterWriteDBin interfaceRuleAlteredJobAPI
-
listDataConsistencyCheckAlgorithms
- Specified by:
listDataConsistencyCheckAlgorithmsin interfaceRuleAlteredJobAPI
-
isDataConsistencyCheckNeeded
- Specified by:
isDataConsistencyCheckNeededin interfaceRuleAlteredJobAPI
-
isDataConsistencyCheckNeeded
- Specified by:
isDataConsistencyCheckNeededin interfaceRuleAlteredJobAPI
-
dataConsistencyCheck
- Specified by:
dataConsistencyCheckin interfaceRuleAlteredJobAPI
-
dataConsistencyCheck
public Map<String,DataConsistencyCheckResult> dataConsistencyCheck(RuleAlteredJobConfiguration jobConfig) - Specified by:
dataConsistencyCheckin interfaceRuleAlteredJobAPI
-
dataConsistencyCheck
public Map<String,DataConsistencyCheckResult> dataConsistencyCheck(String jobId, String algorithmType, Properties algorithmProps) - Specified by:
dataConsistencyCheckin interfaceRuleAlteredJobAPI
-
aggregateDataConsistencyCheckResults
public boolean aggregateDataConsistencyCheckResults(String jobId, Map<String, DataConsistencyCheckResult> checkResults) - Specified by:
aggregateDataConsistencyCheckResultsin interfaceRuleAlteredJobAPI
-
switchClusterConfiguration
- Specified by:
switchClusterConfigurationin interfaceRuleAlteredJobAPI
-
switchClusterConfiguration
- Specified by:
switchClusterConfigurationin interfaceRuleAlteredJobAPI
-
reset
- Specified by:
resetin interfaceRuleAlteredJobAPI
-
getJobConfig
- Specified by:
getJobConfigin interfaceRuleAlteredJobAPI
-