public class CaffeineCache<K,V> extends AbstractEmbeddedCache<K,V>
| Constructor and Description |
|---|
CaffeineCache(EmbeddedCacheConfig<K,V> config) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
unwrap(Class<T> clazz)
Provides a standard way to access the underlying concrete cache entry
implementation in order to provide access to further, proprietary features.
|
buildKey, configcomputeIfAbsent, computeIfAbsent, GET_ALL, GET, notify, PUT_ALL, PUT_IF_ABSENT, PUT, REMOVE_ALL, REMOVEpublic CaffeineCache(EmbeddedCacheConfig<K,V> config)
public <T> T unwrap(Class<T> clazz)
Cache
If the implementation does not support the specified class,
the IllegalArgumentException is thrown.
clazz - the proprietary class or interface of the underlying
concrete cache. It is this type that is returned.Copyright © 2013–2022. All rights reserved.