com.couchbase.client
Interface CouchbaseClientIF

All Superinterfaces:
net.spy.memcached.MemcachedClientIF
All Known Implementing Classes:
CouchbaseClient

public interface CouchbaseClientIF
extends net.spy.memcached.MemcachedClientIF

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


Field Summary
 
Fields inherited from interface net.spy.memcached.MemcachedClientIF
MAX_KEY_LENGTH
 
Method Summary
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> add(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.PersistTo persist)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> add(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.PersistTo persist, net.spy.memcached.ReplicateTo replicate)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> add(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.ReplicateTo replicate)
           
 java.util.concurrent.Future<net.spy.memcached.CASValue<java.lang.Object>> asyncGetAndLock(java.lang.String key, int exp)
           
<T> java.util.concurrent.Future<net.spy.memcached.CASValue<T>>
asyncGetAndLock(java.lang.String key, int exp, net.spy.memcached.transcoders.Transcoder<T> tc)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> asyncUnlock(java.lang.String key, long casId)
           
<T> net.spy.memcached.internal.OperationFuture<java.lang.Boolean>
asyncUnlock(java.lang.String key, long casId, net.spy.memcached.transcoders.Transcoder<T> tc)
           
 net.spy.memcached.CASResponse cas(java.lang.String key, long cas, java.lang.Object value, net.spy.memcached.PersistTo req)
           
 net.spy.memcached.CASResponse cas(java.lang.String key, long cas, java.lang.Object value, net.spy.memcached.PersistTo req, net.spy.memcached.ReplicateTo rep)
           
 net.spy.memcached.CASResponse cas(java.lang.String key, long cas, java.lang.Object value, net.spy.memcached.ReplicateTo rep)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> delete(java.lang.String key, net.spy.memcached.PersistTo persist)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> delete(java.lang.String key, net.spy.memcached.PersistTo persist, net.spy.memcached.ReplicateTo replicate)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> delete(java.lang.String key, net.spy.memcached.ReplicateTo replicate)
           
 net.spy.memcached.CASValue<java.lang.Object> getAndLock(java.lang.String key, int exp)
           
<T> net.spy.memcached.CASValue<T>
getAndLock(java.lang.String key, int exp, net.spy.memcached.transcoders.Transcoder<T> tc)
           
 int getNumVBuckets()
           
 java.util.Map<net.spy.memcached.MemcachedNode,net.spy.memcached.ObserveResponse> observe(java.lang.String key, long cas)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> replace(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.PersistTo persist)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> replace(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.PersistTo persist, net.spy.memcached.ReplicateTo replicate)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> replace(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.ReplicateTo replicate)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> set(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.PersistTo persist)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> set(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.PersistTo persist, net.spy.memcached.ReplicateTo replicate)
           
 net.spy.memcached.internal.OperationFuture<java.lang.Boolean> set(java.lang.String key, int exp, java.lang.Object value, net.spy.memcached.ReplicateTo replicate)
           
 java.lang.Boolean unlock(java.lang.String key, long casId)
           
<T> java.lang.Boolean
unlock(java.lang.String key, long casId, net.spy.memcached.transcoders.Transcoder<T> tc)
           
 
Methods inherited from interface net.spy.memcached.MemcachedClientIF
add, add, addObserver, append, append, asyncCAS, asyncCAS, asyncDecr, asyncDecr, asyncGet, asyncGet, asyncGetAndTouch, asyncGetAndTouch, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGetBulk, asyncGets, asyncGets, asyncIncr, asyncIncr, cas, cas, decr, decr, decr, decr, decr, decr, delete, flush, flush, get, get, getAndTouch, getAndTouch, getAvailableServers, getBulk, getBulk, getBulk, getBulk, getBulk, getBulk, getNodeLocator, gets, gets, getStats, getStats, getTranscoder, getUnavailableServers, getVersions, incr, incr, incr, incr, incr, incr, listSaslMechanisms, prepend, prepend, removeObserver, replace, replace, set, set, shutdown, shutdown, touch, touch, waitForQueues
 

Method Detail

asyncGetAndLock

java.util.concurrent.Future<net.spy.memcached.CASValue<java.lang.Object>> asyncGetAndLock(java.lang.String key,
                                                                                          int exp)

asyncGetAndLock

<T> java.util.concurrent.Future<net.spy.memcached.CASValue<T>> asyncGetAndLock(java.lang.String key,
                                                                               int exp,
                                                                               net.spy.memcached.transcoders.Transcoder<T> tc)

getAndLock

<T> net.spy.memcached.CASValue<T> getAndLock(java.lang.String key,
                                             int exp,
                                             net.spy.memcached.transcoders.Transcoder<T> tc)

getAndLock

net.spy.memcached.CASValue<java.lang.Object> getAndLock(java.lang.String key,
                                                        int exp)

asyncUnlock

<T> net.spy.memcached.internal.OperationFuture<java.lang.Boolean> asyncUnlock(java.lang.String key,
                                                                              long casId,
                                                                              net.spy.memcached.transcoders.Transcoder<T> tc)

asyncUnlock

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> asyncUnlock(java.lang.String key,
                                                                          long casId)

unlock

<T> java.lang.Boolean unlock(java.lang.String key,
                             long casId,
                             net.spy.memcached.transcoders.Transcoder<T> tc)

unlock

java.lang.Boolean unlock(java.lang.String key,
                         long casId)

observe

java.util.Map<net.spy.memcached.MemcachedNode,net.spy.memcached.ObserveResponse> observe(java.lang.String key,
                                                                                         long cas)

set

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> set(java.lang.String key,
                                                                  int exp,
                                                                  java.lang.Object value,
                                                                  net.spy.memcached.PersistTo persist)

set

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> set(java.lang.String key,
                                                                  int exp,
                                                                  java.lang.Object value,
                                                                  net.spy.memcached.ReplicateTo replicate)

set

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> set(java.lang.String key,
                                                                  int exp,
                                                                  java.lang.Object value,
                                                                  net.spy.memcached.PersistTo persist,
                                                                  net.spy.memcached.ReplicateTo replicate)

add

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> add(java.lang.String key,
                                                                  int exp,
                                                                  java.lang.Object value,
                                                                  net.spy.memcached.PersistTo persist)

add

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> add(java.lang.String key,
                                                                  int exp,
                                                                  java.lang.Object value,
                                                                  net.spy.memcached.ReplicateTo replicate)

add

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> add(java.lang.String key,
                                                                  int exp,
                                                                  java.lang.Object value,
                                                                  net.spy.memcached.PersistTo persist,
                                                                  net.spy.memcached.ReplicateTo replicate)

replace

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> replace(java.lang.String key,
                                                                      int exp,
                                                                      java.lang.Object value,
                                                                      net.spy.memcached.PersistTo persist)

replace

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> replace(java.lang.String key,
                                                                      int exp,
                                                                      java.lang.Object value,
                                                                      net.spy.memcached.ReplicateTo replicate)

replace

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> replace(java.lang.String key,
                                                                      int exp,
                                                                      java.lang.Object value,
                                                                      net.spy.memcached.PersistTo persist,
                                                                      net.spy.memcached.ReplicateTo replicate)

cas

net.spy.memcached.CASResponse cas(java.lang.String key,
                                  long cas,
                                  java.lang.Object value,
                                  net.spy.memcached.PersistTo req,
                                  net.spy.memcached.ReplicateTo rep)

cas

net.spy.memcached.CASResponse cas(java.lang.String key,
                                  long cas,
                                  java.lang.Object value,
                                  net.spy.memcached.PersistTo req)

cas

net.spy.memcached.CASResponse cas(java.lang.String key,
                                  long cas,
                                  java.lang.Object value,
                                  net.spy.memcached.ReplicateTo rep)

delete

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> delete(java.lang.String key,
                                                                     net.spy.memcached.PersistTo persist)

delete

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> delete(java.lang.String key,
                                                                     net.spy.memcached.PersistTo persist,
                                                                     net.spy.memcached.ReplicateTo replicate)

delete

net.spy.memcached.internal.OperationFuture<java.lang.Boolean> delete(java.lang.String key,
                                                                     net.spy.memcached.ReplicateTo replicate)

getNumVBuckets

int getNumVBuckets()


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.