public class ViewFuture extends HttpFuture<ViewResponse>
Constructor and Description |
---|
ViewFuture(java.util.concurrent.CountDownLatch latch,
long timeout,
AbstractView view) |
Modifier and Type | Method and Description |
---|---|
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) |
cancel, get, getStatus, isCancelled, isDone, set, setOperation, waitForAndCheckOperation
public ViewFuture(java.util.concurrent.CountDownLatch latch, long timeout, AbstractView view)
public ViewResponse get(long duration, java.util.concurrent.TimeUnit units) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
get
in interface java.util.concurrent.Future<ViewResponse>
get
in class HttpFuture<ViewResponse>
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
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.