public class TrellisCache extends Object implements CacheService<String,String>
CacheService.TrellisProfileCache| Constructor and Description |
|---|
TrellisCache(com.google.common.cache.Cache<String,String> cache)
Create a Trellis cache.
|
| Modifier and Type | Method and Description |
|---|---|
String |
get(String key,
Function<String,String> mapper)
Lazily get a value from the cache.
|