Package org.trellisldp.api
Interface CacheService<K,V>
-
- Type Parameters:
K
- the type of keys for this cacheV
- the type of values for this cache
- All Known Implementing Classes:
NoopCacheService
,NoopProfileCache
,TrellisCache
,WebAcService.NoopAuthorizationCache
public interface CacheService<K,V>
A generalized caching service for Trellis.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CacheService.TrellisProfileCache
ACacheService
used for JSON-LD profiles.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
get(K key, Function<K,V> mappingFunction)
Get a value from the cache.
-