public final class ConfigurationService extends Object
| Constructor and Description |
|---|
ConfigurationService(CoordinatorRegistryCenter regCenter,
String jobName) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2021 The Apache Software Foundation. All rights reserved.