net.spy.memcached.internal
Class BulkGetFuture<T>
java.lang.Object
  
net.spy.memcached.internal.BulkGetFuture<T>
- Type Parameters:
 T - types of objects returned from the GET
- All Implemented Interfaces: 
 - Future<Map<String,T>>
 
public class BulkGetFuture<T>
- extends Object
- implements Future<Map<String,T>>
  
Future for handling results from bulk gets.
 Not intended for general use.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BulkGetFuture
public BulkGetFuture(Map<String,Future<T>> m,
                     Collection<Operation> getOps,
                     CountDownLatch l)
cancel
public boolean cancel(boolean ign)
- Specified by:
 cancel in interface Future<Map<String,T>>
 
 
get
public Map<String,T> get()
                  throws InterruptedException,
                         ExecutionException
- Specified by:
 get in interface Future<Map<String,T>>
 
- Throws:
 InterruptedException
ExecutionException
 
get
public Map<String,T> get(long timeout,
                         TimeUnit unit)
                  throws InterruptedException,
                         ExecutionException,
                         TimeoutException
- Specified by:
 get in interface Future<Map<String,T>>
 
- Throws:
 InterruptedException
ExecutionException
TimeoutException
 
isCancelled
public boolean isCancelled()
- Specified by:
 isCancelled in interface Future<Map<String,T>>
 
 
isDone
public boolean isDone()
- Specified by:
 isDone in interface Future<Map<String,T>>