public class QuartzSchedulerUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static DateTimeFormatter |
DEFAULT_DATETIME_FORMATTER |
static String |
QUARTZ_JOB_GROUP |
static String |
QUARTZ_JOB_PREFIX |
static String |
SCHEDULE_TIME_FORMAT |
static String |
UNDERLINE |
static String |
WORKFLOW_INFO |
| Constructor and Description |
|---|
QuartzSchedulerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
dateToString(Date date) |
static <T> T |
fromJson(String json,
Class<T> clazz) |
static org.quartz.JobKey |
getJobKey(String materializedTableIdentifier) |
static Properties |
initializeQuartzSchedulerConfig()
This method is used for initializing the quartz scheduler config, the related options copy
from quartz.properties, but we override the option
org.quartz.threadPool.threadCount
to 1 for minimizing the thread impact to SqlGateway. |
static <T> String |
toJson(T t) |
public static final String SCHEDULE_TIME_FORMAT
public static final DateTimeFormatter DEFAULT_DATETIME_FORMATTER
public static final String QUARTZ_JOB_PREFIX
public static final String QUARTZ_JOB_GROUP
public static final String UNDERLINE
public static final String WORKFLOW_INFO
public static Properties initializeQuartzSchedulerConfig()
org.quartz.threadPool.threadCount
to 1 for minimizing the thread impact to SqlGateway.public static org.quartz.JobKey getJobKey(String materializedTableIdentifier)
public static <T> String toJson(T t)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.