Class QuartzSchedulerUtils
java.lang.Object
org.apache.flink.table.gateway.workflow.scheduler.QuartzSchedulerUtils
Utility class for quartz scheduler.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdateToString(Date date) static <T> Tstatic org.quartz.JobKeystatic PropertiesThis method is used for initializing the quartz scheduler config, the related options copy from quartz.properties, but we override the optionorg.quartz.threadPool.threadCountto 1 for minimizing the thread impact to SqlGateway.static <T> StringtoJson(T t)
-
Field Details
-
SCHEDULE_TIME_FORMAT
- See Also:
-
DEFAULT_DATETIME_FORMATTER
-
QUARTZ_JOB_PREFIX
- See Also:
-
QUARTZ_JOB_GROUP
- See Also:
-
UNDERLINE
- See Also:
-
WORKFLOW_INFO
- See Also:
-
-
Constructor Details
-
QuartzSchedulerUtils
public QuartzSchedulerUtils()
-
-
Method Details
-
initializeQuartzSchedulerConfig
This method is used for initializing the quartz scheduler config, the related options copy from quartz.properties, but we override the optionorg.quartz.threadPool.threadCountto 1 for minimizing the thread impact to SqlGateway. -
getJobKey
-
fromJson
-
toJson
-
dateToString
-