类 RedisConnectionNameCache
java.lang.Object
com.walker.cache.AbstractCacheProvider<T>
com.walker.support.redis.cache.RedisCacheProvider<String>
com.walker.tcp.lb.RedisConnectionNameCache
- 所有已实现的接口:
CacheProvider<String>,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<CacheProvider<String>>,org.springframework.beans.factory.InitializingBean
长连接,名称与ID缓存。
key = name, value = id
- 作者:
- 时克英
-
字段概要
从类继承的字段 com.walker.cache.AbstractCacheProvider
count, logger, userCache从接口继承的字段 org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getConnectionId(String name) 根据连接名称获取对应IDClass<?>voidputConnectionName(String name, String id) voidremoveConnectionName(String name) 从类继承的方法 com.walker.support.redis.cache.RedisCacheProvider
destroy, getCacheCount, getCacheData, getRedisCache, getRedisRootData, loadDataToCache, provideCacheInstance, putCacheData, putCacheData, reload, removeCacheData, setRedisHelper, updateCacheData从类继承的方法 com.walker.cache.AbstractCacheProvider
afterPropertiesSet, getCache, getCacheList, getCacheParam, getCreateTime, getObject, getObjectType, isLoadPage, isSingleton, isUseRedis, loadPageDataToCache, putCacheList, putCacheList, putCacheListAppend, queryListLimit, removeCacheList, removeCacheList, setCacheParam, setLoadPage, setPageSize, setUseRedis, size, toString
-
构造器详细资料
-
RedisConnectionNameCache
public RedisConnectionNameCache()
-
-
方法详细资料
-
removeConnectionName
-
getConnectionId
根据连接名称获取对应ID- 参数:
name-- 返回:
-
putConnectionName
-
getProviderName
-
getProviderType
-