Package | Description |
---|---|
org.tio.utils.cache.guava | |
org.tio.utils.cache.guavaredis |
Modifier and Type | Field and Description |
---|---|
static Map<String,GuavaCache> |
GuavaCache.map |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
GuavaRedisCache(String cacheName,
GuavaCache guavaCache,
RedisCache redisCache) |
Copyright © 2021. All rights reserved.