| 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 |
PostProcessingTask.createConfig(ai.grakn.kb.log.CommitLog commitLog)
Helper method which creates the task config needed in order to execute a PP task
|
| Modifier and Type | Method and Description |
|---|---|
TaskConfiguration |
BackgroundTask.configuration() |
| Modifier and Type | Method and Description |
|---|---|
void |
BackgroundTask.initialize(TaskConfiguration configuration,
GraknConfig engineConfig,
EngineGraknTxFactory factory,
com.codahale.metrics.MetricRegistry metricRegistry,
PostProcessor postProcessor)
Initialize the
BackgroundTask. |
| Modifier and Type | Method and Description |
|---|---|
static TaskConfiguration |
TaskConfiguration.of(String configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskManager.addTask(TaskState taskState,
TaskConfiguration configuration)
Schedule a
BackgroundTask for execution. |
void |
TaskManager.runTask(TaskState taskState,
TaskConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
abstract TaskConfiguration |
Task.getTaskConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
RedisTaskManager.addTask(TaskState taskState,
TaskConfiguration configuration) |
void |
RedisTaskManager.runTask(TaskState taskState,
TaskConfiguration configuration) |
abstract Task.Builder |
Task.Builder.setTaskConfiguration(TaskConfiguration newTaskConfiguration) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.