类 HashDbCache<TField,TValue>
java.lang.Object
cn.myafx.cache.base.BaseCache
cn.myafx.cache.base.RedisCache
cn.myafx.cache.base.HashCache<TField,TValue>
cn.myafx.cache.db.HashDbCache<TField,TValue>
- 所有已实现的接口:
IBaseCache,IHashCache<TField,,TValue> IRedisCache,IHashDbCache<TField,,TValue> AutoCloseable
public class HashDbCache<TField,TValue>
extends HashCache<TField,TValue>
implements IHashDbCache<TField,TValue>
哈希db
-
嵌套类概要
从类继承的嵌套类/接口 cn.myafx.cache.base.HashCache
HashCache.HashCursor, HashCache.HEntry -
字段概要
从类继承的字段 cn.myafx.cache.base.RedisCache
DefaultJsonMapper, keyConfig, mapper, nodeName, prefix, redis -
构造器概要
构造器 -
方法概要
从类继承的方法 cn.myafx.cache.base.HashCache
addOrUpdate, decrement, delete, delete, exists, get, getCount, geTFields, getValue, getValue, getValues, increment, scan, set从类继承的方法 cn.myafx.cache.base.RedisCache
close, contains, deserialize, expire, expire, getBytes, getCacheDb, getCacheKey, getDefault, getKeyConfig, getString, ping, remove, serialize, setJsonMapper从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.lang.AutoCloseable
close从接口继承的方法 cn.myafx.cache.base.IHashCache
addOrUpdate, decrement, delete, delete, exists, get, getCount, geTFields, getValue, getValue, getValues, increment, scan, set从接口继承的方法 cn.myafx.cache.base.IRedisCache
contains, expire, expire, getCacheDb, getCacheKey, getKeyConfig, ping, remove, setJsonMapper
-
构造器详细资料
-
HashDbCache
public HashDbCache(String item, org.springframework.data.redis.connection.RedisConnection redisConnection, ICacheKey cacheKey, String prefix, Class<TField> fieldClass, Class<TValue> valueClass) throws Exception 哈希db- 参数:
item- 缓存itemredisConnection- rediscacheKey- ICacheKeyprefix- 缓存前缀fieldClass- TField.classvalueClass- TValue.class- 抛出:
Exception
-