com.couchbase.client.internal
Class ViewFuture
java.lang.Object
net.spy.memcached.compat.SpyObject
com.couchbase.client.internal.HttpFuture<ViewResponse>
com.couchbase.client.internal.ViewFuture
- All Implemented Interfaces:
- java.util.concurrent.Future<ViewResponse>
public class ViewFuture
- extends HttpFuture<ViewResponse>
A ViewFuture.
Method Summary |
ViewResponse |
get(long duration,
java.util.concurrent.TimeUnit units)
|
void |
set(ViewResponse viewResponse,
net.spy.memcached.internal.BulkFuture<java.util.Map<java.lang.String,java.lang.Object>> oper,
net.spy.memcached.ops.OperationStatus s)
|
Methods inherited from class net.spy.memcached.compat.SpyObject |
getLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewFuture
public ViewFuture(java.util.concurrent.CountDownLatch latch,
long timeout,
AbstractView view)
get
public ViewResponse get(long duration,
java.util.concurrent.TimeUnit units)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException,
java.util.concurrent.TimeoutException
- Specified by:
get
in interface java.util.concurrent.Future<ViewResponse>
- Overrides:
get
in class HttpFuture<ViewResponse>
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
set
public void set(ViewResponse viewResponse,
net.spy.memcached.internal.BulkFuture<java.util.Map<java.lang.String,java.lang.Object>> oper,
net.spy.memcached.ops.OperationStatus s)
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.