| Package | Description |
|---|---|
| ai.grakn.engine.backgroundtasks |
| 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.
|
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) |
TaskState |
TaskState.status(TaskStatus status) |
void |
StateStorage.updateState(String id,
TaskStatus status,
String statusChangeBy,
String executingHostname,
Throwable failure,
String checkpoint,
org.json.JSONObject configuration)
Used to update task state.
|
void |
InMemoryStateStorage.updateState(String id,
TaskStatus status,
String statusChangeBy,
String executingHostname,
Throwable failure,
String checkpoint,
org.json.JSONObject configuration) |
void |
GraknStateStorage.updateState(String id,
TaskStatus status,
String statusChangeBy,
String executingHostname,
Throwable failure,
String checkpoint,
org.json.JSONObject configuration) |
Copyright © 2016 Grakn Labs Ltd. All rights reserved.