com.couchbase.client.internal
Class ViewFuture

java.lang.Object
  extended by net.spy.memcached.compat.SpyObject
      extended by com.couchbase.client.internal.HttpFuture<ViewResponse>
          extended by com.couchbase.client.internal.ViewFuture
All Implemented Interfaces:
java.util.concurrent.Future<ViewResponse>

public class ViewFuture
extends HttpFuture<ViewResponse>

A ViewFuture.


Field Summary
 
Fields inherited from class com.couchbase.client.internal.HttpFuture
latch, objRef, op, status, timeout
 
Constructor Summary
ViewFuture(java.util.concurrent.CountDownLatch latch, long timeout, AbstractView view)
           
 
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 com.couchbase.client.internal.HttpFuture
cancel, get, getStatus, isCancelled, isDone, set, setOperation, waitForAndCheckOperation
 
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
 

Constructor Detail

ViewFuture

public ViewFuture(java.util.concurrent.CountDownLatch latch,
                  long timeout,
                  AbstractView view)
Method Detail

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.