public interface TimerProvider extends Provider
Modifier and Type | Interface and Description |
---|---|
static interface |
TimerProvider.TimerTaskContext |
Modifier and Type | Method and Description |
---|---|
TimerProvider.TimerTaskContext |
cancelTask(String taskName)
Cancel task and return the details about it, so it can be eventually restored later
|
void |
schedule(Runnable runnable,
long intervalMillis,
String taskName) |
void |
scheduleTask(ScheduledTask scheduledTask,
long intervalMillis,
String taskName) |
void scheduleTask(ScheduledTask scheduledTask, long intervalMillis, String taskName)
TimerProvider.TimerTaskContext cancelTask(String taskName)
taskName
- Copyright © 2021 JBoss by Red Hat. All rights reserved.