org.elasticsearch.threadpool.support
Class AbstractThreadPool.FutureCallable<T>

java.lang.Object
  extended by org.elasticsearch.threadpool.support.AbstractThreadPool.FutureCallable<T>
All Implemented Interfaces:
java.util.concurrent.Callable<T>
Enclosing class:
AbstractThreadPool

protected static class AbstractThreadPool.FutureCallable<T>
extends java.lang.Object
implements java.util.concurrent.Callable<T>


Constructor Summary
AbstractThreadPool.FutureCallable(java.util.concurrent.Callable<T> callable, FutureListener<T> listener)
           
 
Method Summary
 T call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractThreadPool.FutureCallable

public AbstractThreadPool.FutureCallable(java.util.concurrent.Callable<T> callable,
                                         FutureListener<T> listener)
Method Detail

call

public T call()
       throws java.lang.Exception
Specified by:
call in interface java.util.concurrent.Callable<T>
Throws:
java.lang.Exception