| Package | Description |
|---|---|
| ai.grakn.engine |
Implements the REST controllers, task management and post processing features.
|
| ai.grakn.engine.controller |
Implementation of Grakn server REST endpoints.
|
| ai.grakn.engine.postprocessing | |
| ai.grakn.engine.tasks | |
| ai.grakn.engine.tasks.manager.redisqueue |
| Modifier and Type | Method and Description |
|---|---|
protected PostProcessor |
GraknCreator.postProcessor(com.codahale.metrics.MetricRegistry metricRegistry,
GraknConfig config,
EngineGraknTxFactory factory,
redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool,
LockProvider lockProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected TaskManager |
GraknCreator.instantiateTaskManager(com.codahale.metrics.MetricRegistry metricRegistry,
GraknConfig config,
EngineID engineId,
EngineGraknTxFactory factory,
redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool,
PostProcessor postProcessor)
Check in with the properties file to decide which type of task manager should be started
and return the TaskManager
|
| Constructor and Description |
|---|
HttpHandler(GraknConfig prop,
spark.Service spark,
EngineGraknTxFactory factory,
com.codahale.metrics.MetricRegistry metricRegistry,
GraknEngineStatus graknEngineStatus,
TaskManager taskManager,
PostProcessor postProcessor) |
| Constructor and Description |
|---|
CommitLogController(spark.Service spark,
TaskManager manager,
PostProcessor postProcessor) |
GraqlController(EngineGraknTxFactory factory,
spark.Service spark,
TaskManager taskManager,
PostProcessor postProcessor,
Printer printer,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
static PostProcessor |
PostProcessor.create(GraknConfig engineConfig,
redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool,
EngineGraknTxFactory factory,
LockProvider lockProvider,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
PostProcessor |
BackgroundTask.postProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
BackgroundTask.initialize(TaskConfiguration configuration,
GraknConfig engineConfig,
EngineGraknTxFactory factory,
com.codahale.metrics.MetricRegistry metricRegistry,
PostProcessor postProcessor)
Initialize the
BackgroundTask. |
| Constructor and Description |
|---|
RedisTaskManager(EngineID engineId,
GraknConfig config,
redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool,
int threads,
EngineGraknTxFactory factory,
com.codahale.metrics.MetricRegistry metricRegistry,
PostProcessor postProcessor) |
RedisTaskQueueConsumer(RedisTaskManager redisTaskManager,
EngineID engineId,
GraknConfig config,
com.codahale.metrics.MetricRegistry metricRegistry,
EngineGraknTxFactory factory,
PostProcessor postProcessor) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.