类 MockRemoteCache<K,V>
java.lang.Object
com.alicp.jetcache.AbstractCache<K,V>
com.alicp.jetcache.external.AbstractExternalCache<K,V>
com.alicp.jetcache.external.MockRemoteCache<K,V>
- 所有已实现的接口:
Cache<K,,V> Closeable,AutoCloseable
- 作者:
- huangli
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明config()Get the config of this cache.<T> TProvides a standard way to access the underlying concrete cache entry implementation in order to provide access to further, proprietary features.从类继承的方法 com.alicp.jetcache.external.AbstractExternalCache
buildKey从类继承的方法 com.alicp.jetcache.AbstractCache
close, computeIfAbsent, computeIfAbsent, GET, GET_ALL, isClosed, notify, PUT, PUT_ALL, PUT_IF_ABSENT, REMOVE, REMOVE_ALL从接口继承的方法 com.alicp.jetcache.Cache
computeIfAbsent, get, getAll, put, put, PUT, PUT_ALL, putAll, putAll, putIfAbsent, remove, removeAll, tryLock, tryLockAndRun
-
构造器详细资料
-
MockRemoteCache
-
-
方法详细资料
-
config
从接口复制的说明:CacheGet the config of this cache.- 返回:
- the cache config
-
unwrap
从接口复制的说明:CacheProvides a standard way to access the underlying concrete cache entry implementation in order to provide access to further, proprietary features.If the implementation does not support the specified class, the
IllegalArgumentExceptionis thrown.- 参数:
clazz- the proprietary class or interface of the underlying concrete cache. It is this type that is returned.- 返回:
- an instance of the underlying concrete cache
-
getHolder
-