public interface Scheduler
Modifier and Type | Method | Description |
---|---|---|
TimerActionTicket |
schedule(long delay,
long period,
TimerAction action) |
Schedules a periodical action to be executed after specified delay.
|
TimerActionTicket |
schedule(long delay,
TimerAction action) |
Schedules an action to be executed after specified delay.
|
void |
shutdown() |
Stops this Sheduler.
|
TimerActionTicket schedule(long delay, TimerAction action)
TimerActionTicket
can be used to cancel task executiondelay
- delay (in ms) to wait before task executionaction
- action to performTimerActionTicket schedule(long delay, long period, TimerAction action)
TimerActionTicket
can be used to cancel task executiondelay
- delay (in ms) to wait before task executionperiod
- delay (in ms) between tasks executionaction
- action to performvoid shutdown()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.