| Package | Description |
|---|---|
| me.lucko.helper | |
| me.lucko.helper.scheduler |
| Modifier and Type | Method and Description |
|---|---|
static Scheduler.Task |
Scheduler.runTaskRepeating(ThreadContext context,
Consumer<Scheduler.Task> consumer,
long delay,
long interval)
Schedule a repeating task to run
|
static Scheduler.Task |
Scheduler.runTaskRepeating(ThreadContext context,
Runnable runnable,
long delay,
long interval)
Schedule a repeating task to run
|
static Scheduler.Task |
Scheduler.runTaskRepeatingAsync(Consumer<Scheduler.Task> consumer,
long delay,
long interval)
Schedule a repeating task to run asynchronously
|
static Scheduler.Task |
Scheduler.runTaskRepeatingAsync(Runnable runnable,
long delay,
long interval)
Schedule a repeating task to run asynchronously
|
static Scheduler.Task |
Scheduler.runTaskRepeatingSync(Consumer<Scheduler.Task> consumer,
long delay,
long interval)
Schedule a repeating task to run on the main server thread
|
static Scheduler.Task |
Scheduler.runTaskRepeatingSync(Runnable runnable,
long delay,
long interval)
Schedule a repeating task to run on the main server thread
|
| Modifier and Type | Method and Description |
|---|---|
static Scheduler.Task |
Scheduler.runTaskRepeating(ThreadContext context,
Consumer<Scheduler.Task> consumer,
long delay,
long interval)
Schedule a repeating task to run
|
static Scheduler.Task |
Scheduler.runTaskRepeatingAsync(Consumer<Scheduler.Task> consumer,
long delay,
long interval)
Schedule a repeating task to run asynchronously
|
static Scheduler.Task |
Scheduler.runTaskRepeatingSync(Consumer<Scheduler.Task> consumer,
long delay,
long interval)
Schedule a repeating task to run on the main server thread
|
| Modifier and Type | Method and Description |
|---|---|
Scheduler.Task |
ContextualTaskBuilder.consume(Consumer<Scheduler.Task> consumer) |
Scheduler.Task |
ContextualTaskBuilder.run(Runnable runnable) |
| Modifier and Type | Method and Description |
|---|---|
Scheduler.Task |
ContextualTaskBuilder.consume(Consumer<Scheduler.Task> consumer) |
Copyright © 2017. All rights reserved.