public class AsyncTimer extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AsyncTimer.TimerCallback
Represents the timer callback.
|
Constructor and Description |
---|
AsyncTimer() |
Modifier and Type | Method and Description |
---|---|
static void |
schedule(AsyncTimer.TimerCallback callback,
long delayMillis)
This can be used to register a callback to be triggered after the given delay.
|
public static void schedule(AsyncTimer.TimerCallback callback, long delayMillis)
callback
- the callback to be invoked after the given delaydelayMillis
- the trigger delay in millisecondsCopyright © 2018 WSO2. All rights reserved.