public class SchedulerUtils.TaskBuilder
extends java.lang.Object
构造器和说明 |
---|
TaskBuilder() |
限定符和类型 | 方法和说明 |
---|---|
SchedulerUtils.TaskBuilder |
append(SchedulerUtils.TaskBuilder builder) |
SchedulerUtils.TaskBuilder |
appendConditionalRepeatingTask(long interval,
java.util.concurrent.Callable<java.lang.Boolean> predicate,
java.lang.Runnable task) |
SchedulerUtils.TaskBuilder |
appendDelay(long delay) |
SchedulerUtils.TaskBuilder |
appendDelayedTask(long delay,
java.lang.Runnable task) |
SchedulerUtils.TaskBuilder |
appendRepeatingTask(int repetitions,
long interval,
java.lang.Runnable task) |
SchedulerUtils.TaskBuilder |
appendTask(java.lang.Runnable task) |
SchedulerUtils.TaskBuilder |
appendTask(SchedulerUtils.Task task) |
SchedulerUtils.TaskBuilder |
appendTasks(long delay,
long interval,
java.lang.Runnable... tasks) |
void |
runTasks() |
SchedulerUtils.TaskBuilder |
waitFor(java.util.concurrent.Callable<java.lang.Boolean> predicate) |
public SchedulerUtils.TaskBuilder append(SchedulerUtils.TaskBuilder builder)
public SchedulerUtils.TaskBuilder appendDelay(long delay)
public SchedulerUtils.TaskBuilder appendTask(java.lang.Runnable task)
public SchedulerUtils.TaskBuilder appendTask(SchedulerUtils.Task task)
public SchedulerUtils.TaskBuilder appendDelayedTask(long delay, java.lang.Runnable task)
public SchedulerUtils.TaskBuilder appendTasks(long delay, long interval, java.lang.Runnable... tasks)
public SchedulerUtils.TaskBuilder appendRepeatingTask(int repetitions, long interval, java.lang.Runnable task)
public SchedulerUtils.TaskBuilder appendConditionalRepeatingTask(long interval, java.util.concurrent.Callable<java.lang.Boolean> predicate, java.lang.Runnable task)
public SchedulerUtils.TaskBuilder waitFor(java.util.concurrent.Callable<java.lang.Boolean> predicate)
public void runTasks()
Copyright © 2024. All rights reserved.