public class SpringRedisProvider extends Object implements CacheProvider
| 限定符和类型 | 字段和说明 |
|---|---|
protected ConcurrentHashMap<String,SpringRedisCache> |
caches |
| 构造器和说明 |
|---|
SpringRedisProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
Cache |
buildCache(String region,
CacheExpiredListener listener) |
Cache |
buildCache(String region,
long timeToLiveInSeconds,
CacheExpiredListener listener) |
int |
level() |
String |
name() |
Collection<CacheChannel.Region> |
regions() |
void |
start(Properties props) |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisLevelprotected ConcurrentHashMap<String,SpringRedisCache> caches
public String name()
name 在接口中 CacheProviderpublic int level()
level 在接口中 CacheProviderpublic Collection<CacheChannel.Region> regions()
regions 在接口中 CacheProviderpublic Cache buildCache(String region, CacheExpiredListener listener)
buildCache 在接口中 CacheProviderpublic Cache buildCache(String region, long timeToLiveInSeconds, CacheExpiredListener listener)
buildCache 在接口中 CacheProviderpublic void start(Properties props)
start 在接口中 CacheProviderpublic void stop()
stop 在接口中 CacheProviderCopyright © 2018. All rights reserved.