public interface TaskSubmitter
Submits Background Tasks for processing
Allows tasks to be submitted for processing. Any task submitted is added to TaskStateStorage
and is later executed by Task runner such as SingleQueueTaskRunner.
| Modifier and Type | Method and Description |
|---|---|
void |
addTask(TaskState taskState,
TaskConfiguration configuration)
Schedule a
BackgroundTask for execution. |
void addTask(TaskState taskState, TaskConfiguration configuration)
BackgroundTask for execution.taskState - Task to executeCopyright © 2017 Grakn Labs Ltd. All rights reserved.