public class CountPostProcessor extends Object
Class responsible for updating the number of Things each Type
currently has.
| Modifier and Type | Method and Description |
|---|---|
static CountPostProcessor |
create(ai.grakn.engine.GraknConfig engineConfig,
EngineGraknTxFactory factory,
LockProvider lockProvider,
com.codahale.metrics.MetricRegistry metricRegistry,
CountStorage countStorage) |
void |
updateCounts(ai.grakn.kb.log.CommitLog commitLog)
Updates the counts of
Types based on the commit logs received. |
public static CountPostProcessor create(ai.grakn.engine.GraknConfig engineConfig, EngineGraknTxFactory factory, LockProvider lockProvider, com.codahale.metrics.MetricRegistry metricRegistry, CountStorage countStorage)
public void updateCounts(ai.grakn.kb.log.CommitLog commitLog)
Types based on the commit logs received.commitLog - The commit log containing the details of the jobCopyright © 2018 Grakn Labs Ltd. All rights reserved.