Class QuartzSchedulerUtils


  • public class QuartzSchedulerUtils
    extends Object
    Utility class for quartz scheduler.
    • Constructor Detail

      • QuartzSchedulerUtils

        public QuartzSchedulerUtils()
    • Method Detail

      • initializeQuartzSchedulerConfig

        public 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.
      • getJobKey

        public static org.quartz.JobKey getJobKey​(String materializedTableIdentifier)
      • fromJson

        public static <T> T fromJson​(String json,
                                     Class<T> clazz)
      • toJson

        public static <T> String toJson​(T t)
      • dateToString

        public static String dateToString​(Date date)