| 程序包 | 说明 |
|---|---|
| org.tio.utils.cache.guava | |
| org.tio.utils.cache.guavaredis |
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,GuavaCache> |
GuavaCache.map |
| 限定符和类型 | 方法和说明 |
|---|---|
static GuavaCache |
GuavaCache.getCache(String cacheName) |
static GuavaCache |
GuavaCache.register(String cacheName,
Long timeToLiveSeconds,
Long timeToIdleSeconds)
timeToLiveSeconds和timeToIdleSeconds不允许同时为null
|
static GuavaCache |
GuavaCache.register(String cacheName,
Long timeToLiveSeconds,
Long timeToIdleSeconds,
com.google.common.cache.RemovalListener<String,Serializable> removalListener) |
| 构造器和说明 |
|---|
GuavaRedisCache(String cacheName,
GuavaCache guavaCache,
RedisCache redisCache) |
Copyright © 2019. All rights reserved.