public interface Commands<K,V>
noReply parameter means memcached's quiet command such as GetQ, SetQ and etc...| Modifier and Type | Method and Description |
|---|---|
boolean |
add(K key,
V value,
int expirationInSecs,
boolean noReply) |
boolean |
append(K key,
V value,
boolean noReply) |
boolean |
cas(K key,
V value,
int expirationInSecs,
long cas,
boolean noReplys) |
long |
decr(K key,
long delta,
long initial,
int expirationInSecs,
boolean noReply) |
boolean |
delete(K key,
boolean noReply) |
boolean |
flushAll(SocketAddress address,
int expirationInSecs,
boolean noReply) |
V |
gat(K key,
int expirationInSecs,
boolean noReplys) |
V |
get(K key,
boolean noReply) |
ValueWithKey<K,V> |
getKey(K key,
boolean noReply) |
ValueWithCas<V> |
gets(K key,
boolean noReply) |
long |
incr(K key,
long delta,
long initial,
int expirationInSecs,
boolean noReply) |
boolean |
noop(SocketAddress addresss) |
boolean |
prepend(K key,
V value,
boolean noReply) |
boolean |
quit(SocketAddress address,
boolean noReply) |
boolean |
replace(K key,
V value,
int expirationInSecs,
boolean noReply) |
String |
saslAuth(SocketAddress address,
String mechanism,
byte[] data) |
String |
saslList(SocketAddress address) |
String |
saslStep(SocketAddress address,
String mechanism,
byte[] data) |
boolean |
set(K key,
V value,
int expirationInSecs,
boolean noReply) |
Map<String,String> |
stats(SocketAddress address) |
Map<String,String> |
statsItems(SocketAddress address,
String item) |
boolean |
touch(K key,
int expirationInSecs) |
boolean |
verbosity(SocketAddress address,
int verbosity) |
String |
version(SocketAddress address) |
ValueWithKey<K,V> getKey(K key, boolean noReply)
ValueWithCas<V> gets(K key, boolean noReply)
boolean delete(K key, boolean noReply)
long incr(K key, long delta, long initial, int expirationInSecs, boolean noReply)
long decr(K key, long delta, long initial, int expirationInSecs, boolean noReply)
String saslAuth(SocketAddress address, String mechanism, byte[] data)
String saslStep(SocketAddress address, String mechanism, byte[] data)
String saslList(SocketAddress address)
Map<String,String> stats(SocketAddress address)
Map<String,String> statsItems(SocketAddress address, String item)
boolean quit(SocketAddress address, boolean noReply)
boolean flushAll(SocketAddress address, int expirationInSecs, boolean noReply)
boolean touch(K key, int expirationInSecs)
boolean noop(SocketAddress addresss)
boolean verbosity(SocketAddress address, int verbosity)
String version(SocketAddress address)
Copyright © 2015 Project Grizzly. All Rights Reserved.