| Package | Description |
|---|---|
| ai.grakn.kb.internal.cache |
Internal implementation of caching mechanism used by any
GraknTx |
| Modifier and Type | Method and Description |
|---|---|
static Cacheable<Boolean> |
Cacheable.bool() |
static <T extends Concept> |
Cacheable.concept() |
static Cacheable<ConceptId> |
Cacheable.conceptId() |
static Cacheable<Label> |
Cacheable.label() |
static Cacheable<LabelId> |
Cacheable.labelId() |
static <K,T> Cacheable<Map<K,T>> |
Cacheable.map() |
static <T> Cacheable<Set<T>> |
Cacheable.set() |
static Cacheable<Shard> |
Cacheable.shard() |
| Constructor and Description |
|---|
Cache(Cacheable<V> cacheable,
java.util.function.Supplier<V> databaseReader) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.