Constructor and Description |
---|
CacheMemcachedImpl(org.slf4j.Logger logger,
NinjaProperties ninjaProperties) |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
Object value,
int expiration) |
void |
clear() |
long |
decr(String key,
int by) |
void |
delete(String key) |
Object |
get(String key) |
Map<String,Object> |
get(String[] keys) |
long |
incr(String key,
int by) |
void |
replace(String key,
Object value,
int expiration) |
boolean |
safeAdd(String key,
Object value,
int expiration) |
boolean |
safeDelete(String key) |
boolean |
safeReplace(String key,
Object value,
int expiration) |
boolean |
safeSet(String key,
Object value,
int expiration) |
void |
set(String key,
Object value,
int expiration) |
void |
stop() |
@Inject public CacheMemcachedImpl(org.slf4j.Logger logger, NinjaProperties ninjaProperties) throws Exception
Exception
public boolean safeDelete(String key)
safeDelete
in interface Cache
public boolean safeReplace(String key, Object value, int expiration)
safeReplace
in interface Cache
public void stop()
Copyright © 2013. All Rights Reserved.