| Modifier and Type | Method and Description |
|---|---|
default TaskStateStorage |
TaskManager.chooseStorage(GraknEngineConfig properties,
ZookeeperConnection zookeeper) |
TaskStateStorage |
TaskManager.storage()
Return the StateStorage instance that is used by this class.
|
| Modifier and Type | Method and Description |
|---|---|
TaskStateStorage |
StandaloneTaskManager.storage() |
| Modifier and Type | Method and Description |
|---|---|
TaskStateStorage |
MultiQueueTaskManager.storage() |
| Constructor and Description |
|---|
MultiQueueTaskRunner(EngineID engineId,
TaskStateStorage storage,
ZookeeperConnection connection) |
Scheduler(TaskStateStorage storage,
ZookeeperConnection connection) |
SchedulerElector(TaskStateStorage storage,
ZookeeperConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
TaskStateStorage |
SingleQueueTaskManager.storage()
Access the storage that this instance of TaskManager uses.
|
| Constructor and Description |
|---|
FailoverElector(EngineID identifier,
ZookeeperConnection zookeeper,
TaskStateStorage storage)
Instantiating a
FailoverElector adds this engine to the leadership selection process |
TaskFailover(org.apache.curator.framework.CuratorFramework client,
TaskStateStorage stateStorage,
org.apache.kafka.clients.producer.Producer<TaskId,TaskState> producer) |
| Modifier and Type | Class and Description |
|---|---|
class |
TaskStateGraphStore
Implementation of StateStorage that stores task state in the Grakn system graph.
|
class |
TaskStateInMemoryStore
Implementation of StateStorage that stores task state in memory.
|
class |
TaskStateZookeeperStore
Manages the state of background
BackgroundTask in
a synchronized manner withing a cluster. |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.