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(ai.grakn.kb.log.CommitLog commitLog)
Helper method which creates the task config needed in order to execute a PP task
|
static TaskState |
createTask(Class creator)
Helper method which creates PP Task States.
|
boolean |
start()
Apply
Attribute post processing jobs the concept ids in the provided configuration |
configuration, engineConfiguration, factory, initialize, metricRegistry, postProcessor, stoppublic boolean start()
Attribute post processing jobs the concept ids in the provided configurationstart in class BackgroundTaskpublic static TaskState createTask(Class creator)
creator - The class which is creating the taskpublic static TaskConfiguration createConfig(ai.grakn.kb.log.CommitLog commitLog)
commitLog - The CommitLog which contains all the information needed to perform PPCopyright © 2017 Grakn Labs Ltd. All rights reserved.