public abstract class AbstractPipelineJobAPIImpl extends Object implements PipelineJobAPI
| 限定符和类型 | 字段和说明 |
|---|---|
protected static DateTimeFormatter |
DATE_TIME_FORMATTER |
| 构造器和说明 |
|---|
AbstractPipelineJobAPIImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
alterProcessConfiguration(PipelineProcessConfiguration processConfig) |
protected void |
checkModeConfig() |
protected abstract void |
cleanTempTableOnRollback(String jobId) |
void |
commit(String jobId) |
void |
createProcessConfiguration(PipelineProcessConfiguration processConfig) |
void |
dropProcessConfiguration(String confPath) |
protected void |
fillJobInfo(PipelineJobInfo jobInfo,
org.apache.shardingsphere.elasticjob.infra.pojo.JobConfigurationPOJO jobConfigPOJO) |
protected org.apache.shardingsphere.elasticjob.infra.pojo.JobConfigurationPOJO |
getElasticJobConfigPOJO(String jobId) |
protected abstract PipelineJobConfiguration |
getJobConfiguration(org.apache.shardingsphere.elasticjob.infra.pojo.JobConfigurationPOJO jobConfigPOJO) |
protected abstract PipelineJobInfo |
getJobInfo(String jobId) |
protected abstract JobType |
getJobType() |
String |
getType() |
List<? extends PipelineJobInfo> |
list() |
String |
marshalJobId(PipelineJobId pipelineJobId)
Marshal pipeline job id.
|
protected abstract String |
marshalJobIdLeftPart(PipelineJobId pipelineJobId) |
void |
rollback(String jobId) |
PipelineProcessConfiguration |
showProcessConfiguration() |
Optional<String> |
start(PipelineJobConfiguration jobConfig)
Start job.
|
void |
startDisabledJob(String jobId) |
void |
stop(String jobId) |
protected abstract YamlPipelineJobConfiguration |
swapToYamlJobConfiguration(PipelineJobConfiguration jobConfig) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildPipelineProcessContext, buildTaskConfiguration, extendYamlJobConfiguration, getJobConfigurationgetJobItemProgress, persistJobItemProgress, updateJobItemStatusprotected static final DateTimeFormatter DATE_TIME_FORMATTER
protected abstract JobType getJobType()
public void createProcessConfiguration(PipelineProcessConfiguration processConfig)
public void alterProcessConfiguration(PipelineProcessConfiguration processConfig)
public void dropProcessConfiguration(String confPath)
dropProcessConfiguration 在接口中 PipelineJobPublicAPIpublic PipelineProcessConfiguration showProcessConfiguration()
showProcessConfiguration 在接口中 PipelineJobPublicAPIpublic final String marshalJobId(PipelineJobId pipelineJobId)
PipelineJobAPImarshalJobId 在接口中 PipelineJobAPIpipelineJobId - pipeline job idprotected abstract String marshalJobIdLeftPart(PipelineJobId pipelineJobId)
public List<? extends PipelineJobInfo> list()
list 在接口中 PipelineJobPublicAPIprotected void checkModeConfig()
protected abstract PipelineJobInfo getJobInfo(String jobId)
protected void fillJobInfo(PipelineJobInfo jobInfo, org.apache.shardingsphere.elasticjob.infra.pojo.JobConfigurationPOJO jobConfigPOJO)
public Optional<String> start(PipelineJobConfiguration jobConfig)
PipelineJobAPIstart 在接口中 PipelineJobAPIjobConfig - job configurationprotected abstract YamlPipelineJobConfiguration swapToYamlJobConfiguration(PipelineJobConfiguration jobConfig)
protected abstract PipelineJobConfiguration getJobConfiguration(org.apache.shardingsphere.elasticjob.infra.pojo.JobConfigurationPOJO jobConfigPOJO)
public void startDisabledJob(String jobId)
startDisabledJob 在接口中 PipelineJobPublicAPIpublic void stop(String jobId)
stop 在接口中 PipelineJobPublicAPIpublic void rollback(String jobId) throws SQLException
rollback 在接口中 PipelineJobPublicAPISQLExceptionprotected abstract void cleanTempTableOnRollback(String jobId) throws SQLException
SQLExceptionpublic void commit(String jobId)
commit 在接口中 PipelineJobPublicAPIprotected final org.apache.shardingsphere.elasticjob.infra.pojo.JobConfigurationPOJO getElasticJobConfigPOJO(String jobId)
public String getType()
getType 在接口中 org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPICopyright © 2022 The Apache Software Foundation. All rights reserved.