public final class ConfigurationService extends Object
| 构造器和说明 |
|---|
ConfigurationService(CoordinatorRegistryCenter regCenter,
String jobName) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkMaxTimeDiffSecondsTolerable()
Check max time different seconds tolerable between job server and registry center.
|
JobConfiguration |
load(boolean fromCache)
Load job configuration.
|
JobConfiguration |
setUpJobConfiguration(String jobClassName,
JobConfiguration jobConfig)
Set up job configuration.
|
public ConfigurationService(CoordinatorRegistryCenter regCenter, String jobName)
public JobConfiguration load(boolean fromCache)
fromCache - load from cache or notpublic JobConfiguration setUpJobConfiguration(String jobClassName, JobConfiguration jobConfig)
jobClassName - job class namejobConfig - job configuration to be updatedpublic void checkMaxTimeDiffSecondsTolerable()
throws JobExecutionEnvironmentException
JobExecutionEnvironmentException - throe JobExecutionEnvironmentException if exceed max time different secondsCopyright © 2020 The Apache Software Foundation. All rights reserved.