org.elasticsearch.action.support
Class PlainListenableActionFuture<T>

java.lang.Object
  extended by org.elasticsearch.common.util.concurrent.BaseFuture<T>
      extended by org.elasticsearch.action.support.AdapterActionFuture<T,L>
          extended by org.elasticsearch.action.support.AbstractListenableActionFuture<T,T>
              extended by org.elasticsearch.action.support.PlainListenableActionFuture<T>
All Implemented Interfaces:
Future<T>, ActionFuture<T>, ActionListener<T>, ListenableActionFuture<T>

public class PlainListenableActionFuture<T>
extends AbstractListenableActionFuture<T,T>


Constructor Summary
PlainListenableActionFuture(boolean listenerThreaded, ThreadPool threadPool)
           
 
Method Summary
protected  T convert(T response)
           
 
Methods inherited from class org.elasticsearch.action.support.AbstractListenableActionFuture
addListener, addListener, done, internalAddListener, listenerThreaded, threadPool
 
Methods inherited from class org.elasticsearch.action.support.AdapterActionFuture
actionGet, actionGet, actionGet, actionGet, actionGet, getRootFailure, onFailure, onResponse
 
Methods inherited from class org.elasticsearch.common.util.concurrent.BaseFuture
cancel, get, get, interruptTask, isCancelled, isDone, set, setException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.action.ActionFuture
actionGet, actionGet, actionGet, actionGet, actionGet, getRootFailure
 
Methods inherited from interface java.util.concurrent.Future
cancel, get, get, isCancelled, isDone
 

Constructor Detail

PlainListenableActionFuture

public PlainListenableActionFuture(boolean listenerThreaded,
                                   ThreadPool threadPool)
Method Detail

convert

protected T convert(T response)
Specified by:
convert in class AdapterActionFuture<T,T>


Copyright © 2009-2012. All Rights Reserved.