public class EngineCacheProvider extends Object
Provides the correct engine cache
This class provides the correct ConceptCache based on how it was initialised.
If initialised by StandaloneTaskManager then it provides the in memory
cache EngineCacheStandAlone.
If initialised by SingleQueueTaskManager then it provides
the distributed cache EngineCacheDistributed which persists the cache inside zookeeper
| Constructor and Description |
|---|
EngineCacheProvider() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCache() |
static ConceptCache |
getCache() |
static void |
init(ConceptCache cache) |
public static void init(ConceptCache cache)
public static ConceptCache getCache()
public static void clearCache()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.