| Package | Description |
|---|---|
| ai.grakn.engine.tasks |
| Modifier and Type | Method and Description |
|---|---|
static TaskSchedule |
TaskSchedule.at(java.time.Instant instant)
Create a schedule to run a task at a specified instant.
|
TaskSchedule |
TaskSchedule.incrementByInterval()
Returns a copy of this Schedule that will start a task after the given interval
|
static TaskSchedule |
TaskSchedule.now()
Create a schedule to run a task now.
|
static TaskSchedule |
TaskSchedule.recurring(java.time.Duration interval)
Create a schedule to run a task that recurs on an interval.
|
static TaskSchedule |
TaskSchedule.recurring(java.time.Instant instant,
java.time.Duration interval)
Create a schedule to run a task that recurs on an interval, starting at the specified instance.
|
TaskSchedule |
TaskState.schedule() |
| Modifier and Type | Method and Description |
|---|---|
static TaskState |
TaskState.of(Class<?> taskClass,
String creator,
TaskSchedule schedule,
TaskState.Priority priority) |
TaskState |
TaskState.schedule(TaskSchedule schedule) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.