| 程序包 | 说明 |
|---|---|
| com.github.fartherp.framework.cache | |
| com.github.fartherp.framework.cache.redis |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ExtCacheManager
Created by IntelliJ IDEA.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractRedisCacheManager
Created by IntelliJ IDEA.
|
class |
HaRedisCacheManager
a implement of CacheManager in Redis
a example:
<bean id="myCacheManager" class="com.github.fartherp.framework.cache.redis.HaRedisCacheManager">
<property name="clientList">
<list>
<ref local="client"/>
</list>
</property>
<property name="retryTimes" value="3" />
</bean>
<bean id="client" class="com.github.fartherp.framework.cache.redis.RedisClient">
<property name="redisServer">
<value>127.0.0.1</value>
</property>
<property name="port">
<value>6379</value>
</property>
<property name="redisAuthKey">
<value>123456</value>
</property>
</bean>
Author: CK
Date: 2015/12/1 |
class |
RedisCacheManager
a implement of CacheManager in Redis
a example:
<bean id="myCacheManager" class="com.github.fartherp.framework.cache.redis.RedisCacheManager">
<property name="clientList">
<list>
<ref local="client"/>
</list>
</property>
</bean>
<bean id="client" class="com.github.fartherp.framework.cache.redis.RedisClient">
<property name="redisServer">
<value>127.0.0.1</value>
</property>
<property name="port">
<value>6379</value>
</property>
<property name="redisAuthKey">
<value>123456</value>
</property>
</bean>
Author: CK
Date: 2015/12/1 |
Copyright © 2018. All rights reserved.