| Package | Description |
|---|---|
| org.molgenis.data.cache.l1 | |
| org.molgenis.data.cache.utils |
| Modifier and Type | Method and Description |
|---|---|
Optional<CacheHit<Entity>> |
L1Cache.get(String entityTypeId,
Object id,
EntityType entityType)
Retrieves an entity from the L1 cache based on a combination of entity name and entity id.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> CacheHit<T> |
CacheHit.empty() |
static <T> CacheHit<T> |
CacheHit.of(T value) |
| Modifier and Type | Method and Description |
|---|---|
Optional<CacheHit<Entity>> |
CombinedEntityCache.getIfPresent(EntityType entityType,
Object id)
Retrieves an entity from the cache if present.
|
| Constructor and Description |
|---|
CombinedEntityCache(EntityHydration entityHydration,
com.google.common.cache.Cache<EntityKey,CacheHit<Map<String,Object>>> cache)
Creates a new
CombinedEntityCache |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.