Class AsyncGetFuture<T,E extends Throwable>

java.lang.Object
org.apache.hadoop.thirdparty.com.google.common.util.concurrent.internal.InternalFutureFailureAccess
org.apache.hadoop.thirdparty.com.google.common.util.concurrent.AbstractFuture<T>
org.apache.hadoop.util.concurrent.AsyncGetFuture<T,E>
All Implemented Interfaces:
Future<T>, org.apache.hadoop.thirdparty.com.google.common.util.concurrent.ListenableFuture<T>

public class AsyncGetFuture<T,E extends Throwable> extends org.apache.hadoop.thirdparty.com.google.common.util.concurrent.AbstractFuture<T>
A Future implemented using an AsyncGet object.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
    get(long timeout, TimeUnit unit)
     
    boolean
     

    Methods inherited from class org.apache.hadoop.thirdparty.com.google.common.util.concurrent.AbstractFuture

    addListener, afterDone, cancel, interruptTask, isCancelled, pendingToString, set, setException, setFuture, toString, tryInternalFastPathGetFailure, wasInterrupted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait