Class ConnectorTimerProxy


  • public class ConnectorTimerProxy
    extends Timer
    • Method Detail

      • scheduleAtFixedRate

        public void scheduleAtFixedRate​(TimerTask task,
                                        long delay,
                                        long period)
        Proxy method to schedule a timer task at fixed rate. The unchecked exceptions are caught here and in such cases, the timer is recreated and task is rescheduled.
        Overrides:
        scheduleAtFixedRate in class Timer
        Parameters:
        task -
        delay -
        period -
      • cancel

        public void cancel()
        Overrides:
        cancel in class Timer
      • purge

        public int purge()
        Overrides:
        purge in class Timer
      • schedule

        public void schedule​(TimerTask task,
                             long delay)
        Proxy method to schedule a timer task after a specified delay. The unchecked exceptions are caught here and in such cases, the timer is recreated and task is rescheduled.
        Overrides:
        schedule in class Timer
        Parameters:
        task -
        delay -
        period -
      • schedule

        public void schedule​(TimerTask task,
                             Date time)
        Proxy method to schedule a timer task at the specified time. The unchecked exceptions are caught here and in such cases, the timer is recreated and task is rescheduled.
        Overrides:
        schedule in class Timer
        Parameters:
        task -
        delay -
        period -
      • schedule

        public void schedule​(TimerTask task,
                             long delay,
                             long period)
        Proxy method to schedule a timer task for repeated fixed-delay execution, beginning after the specified delay. The unchecked exceptions are caught here and in such cases, the timer is recreated and task is rescheduled.
        Overrides:
        schedule in class Timer
        Parameters:
        task -
        delay -
        period -
      • schedule

        public void schedule​(TimerTask task,
                             Date firstTime,
                             long period)
        Proxy method to schedule a timer task for repeated fixed-delay execution, beginning after the specified delay. The unchecked exceptions are caught here and in such cases, the timer is recreated and task is rescheduled.
        Overrides:
        schedule in class Timer
        Parameters:
        task -
        delay -
        period -
      • scheduleAtFixedRate

        public void scheduleAtFixedRate​(TimerTask task,
                                        Date firstTime,
                                        long period)
        Proxy method to schedule a timer task for repeated fixed-rate execution, beginning after the specified delay. The unchecked exceptions are caught here and in such cases, the timer is recreated and task is rescheduled.
        Overrides:
        scheduleAtFixedRate in class Timer
        Parameters:
        task -
        delay -
        period -