| Constructor and Description |
|---|
RedisHashCache() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
exists(String key)
Does the key exist in the cache?
|
Map<String,String> |
get(String key)
Get the key from the cache.
|
void |
remove(String key)
Remove the key from the cache.
|
Boolean |
removeValue(String key,
String field)
Remove the value from the cache.
|
void |
set(String key,
String field,
Object... arguments)
Set the (key, value, ...) tuple in the cache.
|
String |
type()
Return the type identifier of this cache.
|
public Boolean exists(String key)
IRedisCachepublic void remove(String key)
IRedisCachepublic void set(String key, String field, Object... arguments)
IRedisCachepublic Map<String,String> get(String key)
IRedisCachepublic Boolean removeValue(String key, String field)
IRedisCacheremoveValue in interface IRedisCache<String,Map<String,String>>key - The key to remove from.field - The value to remove in key.public String type()
IRedisCacheCopyright © 2015. All rights reserved.