public class PostProcessingTask extends BackgroundTask
Task that control when postprocessing starts.
This task begins only if enough time has passed (configurable) since the last time a job was added.
| Constructor and Description |
|---|
PostProcessingTask() |
| Modifier and Type | Method and Description |
|---|---|
static TaskConfiguration |
createConfig(String keyspace,
String config)
Helper method which creates the task config needed in order to execute a PP task
|
static TaskState |
createTask(Class creator,
int delay)
Helper method which creates PP Task States.
|
boolean |
start()
Apply CASTING and RESOURCE post processing jobs the concept ids in the provided configuration
|
addTask, configuration, engineConfiguration, factory, initialize, pause, redis, resume, saveCheckpoint, stoppublic boolean start()
start in class BackgroundTaskpublic static TaskState createTask(Class creator, int delay)
creator - The class which is creating the taskpublic static TaskConfiguration createConfig(String keyspace, String config)
keyspace - The keyspace of the graph to execute this on.config - The config which contains the concepts to post processCopyright © 2017 Grakn Labs Ltd. All rights reserved.