net.spy.memcached
Interface MembaseClientIF

All Superinterfaces:
MemcachedClientIF
All Known Implementing Classes:
CouchbaseClient, MembaseClient

public interface MembaseClientIF
extends MemcachedClientIF

This interface is provided as a helper for testing clients of the MembaseClient.


Field Summary
 
Fields inherited from interface net.spy.memcached.MemcachedClientIF
MAX_KEY_LENGTH
 
Method Summary
 Future<CASValue<Object>> asyncGetAndLock(String key, int exp)
           
<T> Future<CASValue<T>>
asyncGetAndLock(String key, int exp, Transcoder<T> tc)
           
 CASValue<Object> getAndLock(String key, int exp)
           
<T> CASValue<T>
getAndLock(String key, int exp, Transcoder<T> tc)
           
 
Methods inherited from interface net.spy.memcached.MemcachedClientIF
add, add, addObserver, append, append, asyncCAS, asyncCAS, asyncDecr, asyncGet, asyncGet, asyncGetAndTouch, asyncGetAndTouch, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGets, asyncGets, asyncIncr, cas, cas, decr, decr, decr, delete, flush, flush, get, get, getAndTouch, getAndTouch, getAvailableServers, getBulk, getBulk, getBulk, getBulk, getNodeLocator, gets, gets, getStats, getStats, getTranscoder, getUnavailableServers, getVersions, incr, incr, incr, listSaslMechanisms, prepend, prepend, removeObserver, replace, replace, set, set, shutdown, shutdown, touch, touch, waitForQueues
 

Method Detail

asyncGetAndLock

Future<CASValue<Object>> asyncGetAndLock(String key,
                                         int exp)

asyncGetAndLock

<T> Future<CASValue<T>> asyncGetAndLock(String key,
                                        int exp,
                                        Transcoder<T> tc)

getAndLock

<T> CASValue<T> getAndLock(String key,
                           int exp,
                           Transcoder<T> tc)

getAndLock

CASValue<Object> getAndLock(String key,
                            int exp)