public class PostProcessingTask extends Object implements BackgroundTask
Class which facilitates running PostProcessor jobs.
| Constructor and Description |
|---|
PostProcessingTask(EngineGraknTxFactory factory,
IndexPostProcessor indexPostProcessor,
ai.grakn.engine.GraknConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shutdown the task.
|
void |
run()
The primary method to execute when the
BackgroundTask starts executing |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperiodpublic PostProcessingTask(EngineGraknTxFactory factory, IndexPostProcessor indexPostProcessor, ai.grakn.engine.GraknConfig config)
public void run()
BackgroundTaskBackgroundTask starts executingrun in interface BackgroundTaskpublic void close()
BackgroundTaskclose in interface BackgroundTaskclose in interface AutoCloseableCopyright © 2018 Grakn Labs Ltd. All rights reserved.