K - the type of key to useV - the type of value to cachepublic class NoopCacheService<K,V> extends java.lang.Object implements CacheService<K,V>
CacheService.TrellisProfileCache| Constructor and Description |
|---|
NoopCacheService() |
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key,
java.util.function.Function<K,V> mappingFunction)
Get a value from the cache.
|
public V get(K key, java.util.function.Function<K,V> mappingFunction)
CacheServiceget in interface CacheService<K,V>key - the keymappingFunction - attempts to compute a mapping for the specified keynull