Interface Scheduler
-
public interface Scheduler
Represents a scheduler to execute tasks on the proxy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Scheduler.TaskBuilder
Represents a fluent interface to schedule tasks on the proxy.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Scheduler.TaskBuilder
buildTask(Object plugin, Runnable runnable)
Initializes a newScheduler.TaskBuilder
for creating a task on the proxy.
-
-
-
Method Detail
-
buildTask
Scheduler.TaskBuilder buildTask(Object plugin, Runnable runnable)
Initializes a newScheduler.TaskBuilder
for creating a task on the proxy.- Parameters:
plugin
- the plugin to request the task forrunnable
- the task to run when scheduled- Returns:
- the task builder
-
-