public class MockRemoteCache<K,V> extends AbstractExternalCache<K,V>
| 构造器和说明 |
|---|
MockRemoteCache(MockRemoteCacheConfig<K,V> config) |
| 限定符和类型 | 方法和说明 |
|---|---|
CacheConfig<K,V> |
config()
Get the config of this cache.
|
CacheValueHolder |
getHolder(K key) |
<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.
|
buildKeycomputeIfAbsent, computeIfAbsent, GET_ALL, GET, notify, PUT_ALL, PUT_IF_ABSENT, PUT, REMOVE_ALL, REMOVEpublic MockRemoteCache(MockRemoteCacheConfig<K,V> config)
public CacheConfig<K,V> config()
Cachepublic <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.public CacheValueHolder getHolder(K key)
Copyright © 2013–2019. All rights reserved.