| Package | Description |
|---|---|
| ai.grakn.kb.internal.cache |
Internal implementation of caching mechanism used by any
GraknTx |
| ai.grakn.kb.internal.concept |
Internal implementation of
Concepts |
| ai.grakn.kb.internal.structure |
Internal implementation of structures embedded in a
GraknTx. |
| Modifier and Type | Method and Description |
|---|---|
static Cache |
Cache.createPersistentCache(CacheOwner owner,
Cacheable cacheable,
java.util.function.Supplier databaseReader)
Creates a session level
Cache which cannot be cleared. |
static Cache |
Cache.createSessionCache(CacheOwner owner,
Cacheable cacheable,
java.util.function.Supplier databaseReader)
Creates a
Cache that will only flush to a central shared cache then the Transaction is disposed off |
static Cache |
Cache.createTxCache(CacheOwner owner,
Cacheable cacheable,
java.util.function.Supplier databaseReader)
Creates a
Cache that will only exist within the context of a Transaction |
| Modifier and Type | Method and Description |
|---|---|
Collection<Cache> |
CacheOwner.caches() |
| Modifier and Type | Method and Description |
|---|---|
default void |
CacheOwner.registerCache(Cache cache)
Registers a
Cache so that later it can be cleaned up |
| Modifier and Type | Method and Description |
|---|---|
Collection<Cache> |
RelationshipEdge.caches() |
Collection<Cache> |
RelationshipImpl.caches() |
Collection<Cache> |
ConceptImpl.caches() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Cache> |
Casting.caches() |
Copyright © 2018 Grakn Labs Ltd. All rights reserved.