Class CronTask<T>

    • Field Detail

      • m_origTask

        protected Task<T> m_origTask
        The original Task.
      • m_task

        protected Task<T> m_task
        The actual Task.
      • m_sCronPattern

        protected String m_sCronPattern
        The crontab scheduling pattern for the Task.
      • m_ldtNextExecutionMillis

        protected long m_ldtNextExecutionMillis
        The next execution time.
    • Constructor Detail

      • CronTask

        public CronTask()
        Constructs a CronTask (required for serialization).
      • CronTask

        public CronTask​(Task<T> task,
                        String sPattern)
        Constructs a CronTask.
        Parameters:
        task - the task
        sPattern - the crontab scheduling pattern