Class ConnectorTimerProxy
- java.lang.Object
-
- java.util.Timer
-
- com.sun.enterprise.connectors.util.ConnectorTimerProxy
-
public class ConnectorTimerProxy extends Timer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()static ConnectorTimerProxygetProxy()intpurge()voidschedule(TimerTask task, long delay)Proxy method to schedule a timer task after a specified delay.voidschedule(TimerTask task, long delay, long period)Proxy method to schedule a timer task for repeated fixed-delay execution, beginning after the specified delay.voidschedule(TimerTask task, Date time)Proxy method to schedule a timer task at the specified time.voidschedule(TimerTask task, Date firstTime, long period)Proxy method to schedule a timer task for repeated fixed-delay execution, beginning after the specified delay.voidscheduleAtFixedRate(TimerTask task, long delay, long period)Proxy method to schedule a timer task at fixed rate.voidscheduleAtFixedRate(TimerTask task, Date firstTime, long period)Proxy method to schedule a timer task for repeated fixed-rate execution, beginning after the specified delay.
-
-
-
Method Detail
-
getProxy
public static final ConnectorTimerProxy getProxy()
-
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:
scheduleAtFixedRatein classTimer- Parameters:
task-delay-period-
-
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.
-
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.
-
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.
-
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.
-
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:
scheduleAtFixedRatein classTimer- Parameters:
task-delay-period-
-
-