public class RedisCacheableWebResponseDaoShortLivedMap extends RedisDaoShortLivedMap<CacheableWebResponse>
Constructor and Description |
---|
RedisCacheableWebResponseDaoShortLivedMap(RedisService svc) |
Modifier and Type | Method and Description |
---|---|
CacheableWebResponse |
get(String key) |
Future<CacheableWebResponse> |
getAsync(String key) |
void |
put(String key,
CacheableWebResponse value) |
void |
putAsync(String key,
CacheableWebResponse value) |
void |
putAsync(String key,
CacheableWebResponse value,
Long milliseconds) |
CacheableWebResponse |
remove(String key) |
CacheableWebResponse |
replace(String key,
CacheableWebResponse value)
Atomic guarantee
|
isExpired, setExpiry, setExpiry
getRedisService, getSafe
public RedisCacheableWebResponseDaoShortLivedMap(RedisService svc)
public void putAsync(String key, CacheableWebResponse value)
public void putAsync(String key, CacheableWebResponse value, Long milliseconds) throws Lot49Exception
Lot49Exception
public CacheableWebResponse replace(String key, CacheableWebResponse value) throws Lot49Exception
DaoMap
Lot49Exception
public Future<CacheableWebResponse> getAsync(String key) throws Lot49Exception
Lot49Exception
public CacheableWebResponse get(String key) throws Lot49Exception
Lot49Exception
public void put(String key, CacheableWebResponse value)
public CacheableWebResponse remove(String key)