| Package | Description |
|---|---|
| ai.grakn.engine.postprocessing | |
| ai.grakn.engine.tasks | |
| ai.grakn.engine.tasks.manager | |
| ai.grakn.engine.tasks.manager.redisqueue |
| Modifier and Type | Method and Description |
|---|---|
static TaskConfiguration |
UpdatingInstanceCountTask.createConfig(String keyspace,
String config)
Helper method which creates the task config needed in order to execute the updating count task
|
static TaskConfiguration |
PostProcessingTask.createConfig(String keyspace,
String config)
Helper method which creates the task config needed in order to execute a PP task
|
| Modifier and Type | Method and Description |
|---|---|
TaskConfiguration |
BackgroundTask.configuration()
Get the configuration needed to execute the task
|
| Modifier and Type | Method and Description |
|---|---|
void |
BackgroundTask.addTask(TaskState taskState,
TaskConfiguration configuration)
Submit a new task for execution
|
void |
BackgroundTask.initialize(java.util.function.Consumer<TaskCheckpoint> saveCheckpoint,
TaskConfiguration configuration,
TaskSubmitter taskSubmitter,
GraknEngineConfig engineConfig,
RedisCountStorage redis,
EngineGraknGraphFactory factory,
LockProvider lockProvider,
com.codahale.metrics.MetricRegistry metricRegistry)
Initialize the
BackgroundTask. |
| Modifier and Type | Method and Description |
|---|---|
static TaskConfiguration |
TaskConfiguration.of(mjson.Json configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskSubmitter.addTask(TaskState taskState,
TaskConfiguration configuration)
Schedule a
BackgroundTask for execution. |
void |
StandaloneTaskManager.addTask(TaskState taskState,
TaskConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
RedisTaskManager.addTask(TaskState taskState,
TaskConfiguration configuration) |
| Constructor and Description |
|---|
RedisTaskQueueConsumer(String taskId,
TaskState taskState,
TaskConfiguration taskConfiguration) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.