Package org.keycloak.timer
Interface TimerProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
BasicTimerProvider
- Author:
- Stian Thorgersen
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptioncancelTask
(String taskName) Cancel task and return the details about it, so it can be eventually restored latervoid
default void
schedule
(TaskRunner runner, long intervalMillis) default void
scheduleTask
(ScheduledTask scheduledTask, long intervalMillis) void
scheduleTask
(ScheduledTask scheduledTask, long intervalMillis, String taskName)
-
Method Details
-
schedule
-
schedule
-
scheduleTask
-
scheduleTask
-
cancelTask
Cancel task and return the details about it, so it can be eventually restored later- Parameters:
taskName
-- Returns:
- existing task or null if task under this name doesn't exist
-