public interface CacheImpl
Cache
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String key,
java.lang.Object value,
int expiration) |
void |
clear() |
long |
decr(java.lang.String key,
int by) |
void |
delete(java.lang.String key) |
java.lang.Object |
get(java.lang.String key) |
java.util.Map<java.lang.String,java.lang.Object> |
get(java.lang.String[] keys) |
long |
incr(java.lang.String key,
int by) |
void |
replace(java.lang.String key,
java.lang.Object value,
int expiration) |
boolean |
safeAdd(java.lang.String key,
java.lang.Object value,
int expiration) |
boolean |
safeDelete(java.lang.String key) |
boolean |
safeReplace(java.lang.String key,
java.lang.Object value,
int expiration) |
boolean |
safeSet(java.lang.String key,
java.lang.Object value,
int expiration) |
void |
set(java.lang.String key,
java.lang.Object value,
int expiration) |
void |
stop() |
void add(java.lang.String key, java.lang.Object value, int expiration)
boolean safeAdd(java.lang.String key, java.lang.Object value, int expiration)
void set(java.lang.String key, java.lang.Object value, int expiration)
boolean safeSet(java.lang.String key, java.lang.Object value, int expiration)
void replace(java.lang.String key, java.lang.Object value, int expiration)
boolean safeReplace(java.lang.String key, java.lang.Object value, int expiration)
java.lang.Object get(java.lang.String key)
java.util.Map<java.lang.String,java.lang.Object> get(java.lang.String[] keys)
long incr(java.lang.String key, int by)
long decr(java.lang.String key, int by)
void clear()
void delete(java.lang.String key)
boolean safeDelete(java.lang.String key)
void stop()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly