| Package | Description |
|---|---|
| ai.grakn.engine.backgroundtasks | |
| ai.grakn.engine.backgroundtasks.distributed | |
| ai.grakn.engine.backgroundtasks.taskstorage |
| Modifier and Type | Method and Description |
|---|---|
TaskStatus |
TaskState.status() |
static TaskStatus |
TaskStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus[] |
TaskStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<javafx.util.Pair<String,TaskState>> |
StateStorage.getTasks(TaskStatus taskStatus,
String taskClassName,
String createdBy,
int limit,
int offset)
Return a Set of Pairs of tasks that match any of the criteria.
|
TaskState |
TaskState.status(TaskStatus status) |
Boolean |
StateStorage.updateState(String id,
TaskStatus status,
String statusChangeBy,
String engineID,
Throwable failure,
String checkpoint,
org.json.JSONObject configuration)
Used to update task state.
|
| Modifier and Type | Method and Description |
|---|---|
TaskStatus |
DistributedTaskManager.getState(String taskID) |
| Modifier and Type | Method and Description |
|---|---|
TaskStatus |
SynchronizedState.status() |
| Modifier and Type | Method and Description |
|---|---|
Set<javafx.util.Pair<String,TaskState>> |
InMemoryStateStorage.getTasks(TaskStatus taskStatus,
String taskClassName,
String createdBy,
int limit,
int offset) |
Set<javafx.util.Pair<String,TaskState>> |
GraknStateStorage.getTasks(TaskStatus taskStatus,
String taskClassName,
String createdBy,
int limit,
int offset) |
Set<javafx.util.Pair<String,TaskState>> |
GraknStateStorage.getTasks(TaskStatus taskStatus,
String taskClassName,
String createdBy,
int limit,
int offset,
Boolean recurring) |
void |
SynchronizedStateStorage.newState(String id,
TaskStatus status,
String engineID,
String checkpoint) |
SynchronizedState |
SynchronizedState.status(TaskStatus status) |
Boolean |
SynchronizedStateStorage.updateState(String id,
TaskStatus status,
String engineID,
String checkpoint) |
Boolean |
InMemoryStateStorage.updateState(String id,
TaskStatus status,
String statusChangeBy,
String engineID,
Throwable failure,
String checkpoint,
org.json.JSONObject configuration) |
Boolean |
GraknStateStorage.updateState(String id,
TaskStatus status,
String statusChangeBy,
String engineID,
Throwable failure,
String checkpoint,
org.json.JSONObject configuration) |
| Constructor and Description |
|---|
SynchronizedState(TaskStatus status) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.