| Package | Description |
|---|---|
| ai.grakn.engine |
Implements the REST controllers, task management and post processing features.
|
| ai.grakn.engine.tasks.manager | |
| ai.grakn.engine.tasks.manager.redisqueue | |
| ai.grakn.engine.util |
Implementation of internal engine utilities.
|
| Modifier and Type | Field and Description |
|---|---|
protected EngineID |
GraknCreator.engineID |
| Modifier and Type | Method and Description |
|---|---|
protected static EngineID |
GraknCreator.engineId() |
| 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 |
|---|
GraknEngineServer(GraknConfig prop,
TaskManager taskManager,
EngineGraknTxFactory factory,
LockProvider lockProvider,
GraknEngineStatus graknEngineStatus,
RedisWrapper redisWrapper,
HttpHandler httpHandler,
EngineID engineId) |
| Modifier and Type | Method and Description |
|---|---|
EngineID |
TaskState.getEngineID() |
| Modifier and Type | Method and Description |
|---|---|
Set<TaskState> |
TaskStateStorage.getTasks(TaskStatus taskStatus,
String taskClassName,
String createdBy,
EngineID runningOnEngine,
int limit,
int offset)
Return a Set of Pairs of tasks that match any of the criteria.
|
| Modifier and Type | Method and Description |
|---|---|
Set<TaskState> |
RedisTaskStorage.getTasks(TaskStatus taskStatus,
String taskClassName,
String createdBy,
EngineID runningOnEngine,
int limit,
int offset) |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
static EngineID |
EngineID.me() |
static EngineID |
EngineID.of(String value) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.