public class InMemoryMemcachedClient extends Object implements ProxyMemcachedClient
| Constructor and Description |
|---|
InMemoryMemcachedClient() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
casDelete(String key,
long cas) |
<T> ProxyCASResponse<T> |
casGet(String key) |
<T> boolean |
casSet(String key,
int expiration,
T value,
long cas) |
void |
clear() |
<T> ProxyCASResponse<T> |
createCASResponse(long cas,
T value) |
boolean |
delete(String key) |
<T> Map<String,T> |
get(Collection<String> keys) |
<T> T |
get(String key) |
<T> T |
getAndTouch(String key,
int expiration) |
long |
getOpTimeout() |
<T> boolean |
set(String key,
int expiration,
T value) |
void |
shutdown() |
boolean |
touch(String key,
int expiration) |
public long getOpTimeout()
getOpTimeout in interface ProxyMemcachedClientpublic <T> ProxyCASResponse<T> createCASResponse(long cas, T value)
createCASResponse in interface ProxyMemcachedClientpublic <T> T get(String key)
get in interface ProxyMemcachedClientpublic <T> Map<String,T> get(Collection<String> keys)
get in interface ProxyMemcachedClientpublic <T> ProxyCASResponse<T> casGet(String key)
casGet in interface ProxyMemcachedClientpublic <T> boolean set(String key, int expiration, T value)
set in interface ProxyMemcachedClientpublic <T> boolean casSet(String key, int expiration, T value, long cas)
casSet in interface ProxyMemcachedClientpublic boolean delete(String key)
delete in interface ProxyMemcachedClientpublic boolean casDelete(String key, long cas)
casDelete in interface ProxyMemcachedClientpublic boolean touch(String key, int expiration)
touch in interface ProxyMemcachedClientpublic <T> T getAndTouch(String key, int expiration)
getAndTouch in interface ProxyMemcachedClientpublic void clear()
clear in interface ProxyMemcachedClientpublic void shutdown()
shutdown in interface ProxyMemcachedClientCopyright © 2018. All rights reserved.