Package org.elasticsearch.action.support
Class PlainActionFuture<T>
org.elasticsearch.common.util.concurrent.BaseFuture<T>
org.elasticsearch.action.support.AdapterActionFuture<T,T>
org.elasticsearch.action.support.PlainActionFuture<T>
- All Implemented Interfaces:
<T>
,ActionFuture<T>
,ActionListener<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.ActionListener
ActionListener.Delegating<Response,DelegateResponse>, ActionListener.DelegatingActionListener<T>, ActionListener.DelegatingFailureActionListener<T,R>, ActionListener.MappedActionListener<Response,MappedResponse>, ActionListener.RunAfterActionListener<T>, ActionListener.RunBeforeActionListener<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected T
static <T, E extends >
Tget(org.elasticsearch.core.CheckedConsumer<PlainActionFuture<T>,E> e)
static <T> PlainActionFuture<T>
Methods inherited from class org.elasticsearch.action.support.AdapterActionFuture
actionGet, actionGet, actionGet, actionGet, actionGet, onFailure, onResponse
Methods inherited from class org.elasticsearch.common.util.concurrent.BaseFuture
blockingAllowed, cancel, done, get, get, interruptTask, isCancelled, isDone, set, setException
Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.elasticsearch.action.ActionListener
delegateFailure, delegateResponse, map
Methods inherited from interface java.util.concurrent.
, , , ,
-
Constructor Details
-
PlainActionFuture
public PlainActionFuture()
-
-
Method Details
-
newFuture
-
get
public static <T, E extends > T get(org.elasticsearch.core.CheckedConsumer<PlainActionFuture<T>,E> e) throws E- Throws:
E extends
-
convert
- Specified by:
convert
in classAdapterActionFuture<T,T>
-