public class ConnectorTimerProxy extends Timer
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
static ConnectorTimerProxy |
getProxy() |
int |
purge() |
void |
schedule(TimerTask task,
Date time)
Proxy method to schedule a timer task at the specified time.
|
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.
|
void |
schedule(TimerTask task,
long delay)
Proxy method to schedule a timer task after a specified delay.
|
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.
|
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.
|
void |
scheduleAtFixedRate(TimerTask task,
long delay,
long period)
Proxy method to schedule a timer task at fixed rate.
|
public static final ConnectorTimerProxy getProxy()
public void scheduleAtFixedRate(TimerTask task, long delay, long period)
scheduleAtFixedRate
in class Timer
task
- delay
- period
- public void schedule(TimerTask task, long delay)
public void schedule(TimerTask task, Date time)
public void schedule(TimerTask task, long delay, long period)
public void schedule(TimerTask task, Date firstTime, long period)
public void scheduleAtFixedRate(TimerTask task, Date firstTime, long period)
scheduleAtFixedRate
in class Timer
task
- delay
- period
- Copyright © 2019. All rights reserved.