类 DataDbCache<T>
java.lang.Object
cn.myafx.cache.base.BaseCache
cn.myafx.cache.base.RedisCache
cn.myafx.cache.base.StringCache<T>
cn.myafx.cache.db.DataDbCache<T>
- 所有已实现的接口:
IBaseCache,IRedisCache,IStringCache<T>,IValueCache<T>,IDataDbCache<T>,AutoCloseable
-
字段概要
从类继承的字段 cn.myafx.cache.base.RedisCache
DefaultJsonMapper, keyConfig, mapper, nodeName, prefix, redis -
构造器概要
构造器 -
方法概要
从类继承的方法 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.IRedisCache
contains, expire, expire, getCacheDb, getCacheKey, getKeyConfig, ping, remove, setJsonMapper
-
构造器详细资料
-
DataDbCache
public DataDbCache(String item, org.springframework.data.redis.connection.RedisConnection redisConnection, ICacheKey cacheKey, String prefix, Class<T> clazz) throws Exception DataDb- 参数:
item- 缓存itemredisConnection- rediscacheKey- ICacheKeyprefix- 缓存前缀clazz- T.class- 抛出:
Exception
-