Class PlainActionFuture<T>

java.lang.Object
All Implemented Interfaces:
java.util.concurrent.Future<T>, ActionFuture<T>, ActionListener<T>

public class PlainActionFuture<T>
extends AdapterActionFuture<T,​T>
  • Constructor Details

    • PlainActionFuture

      public PlainActionFuture()
  • Method Details

    • newFuture

      public static <T> PlainActionFuture<T> newFuture()
    • get

      public static <T,​ E extends java.lang.Exception> T get​(org.elasticsearch.common.CheckedConsumer<PlainActionFuture<T>,​E> e) throws E extends java.lang.Exception
      Throws:
      E extends java.lang.Exception
    • convert

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