public abstract class Scheduler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Scheduler.ISchedulerFactory
Factory interface for preparing a scheduler for a given executor.
|
Modifier | Constructor and Description |
---|---|
protected |
Scheduler(ScheduledExecution execution)
Creates a scheduler for the given executor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the scheduler by disposing its executor.
|
ScheduledExecution |
getExecution() |
protected void |
schedule()
Notifies executor of "tick".
|
protected Scheduler(ScheduledExecution execution)
executor
- protected void schedule()
public ScheduledExecution getExecution()
public void dispose()