Class ThreadedActionListener.Wrapper

org.elasticsearch.action.support.ThreadedActionListener.Wrapper
Enclosing class:
ThreadedActionListener<Response>

public static class ThreadedActionListener.Wrapper extends
Wrapper that can be used to automatically wrap a listener in a threaded listener if needed.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Wrapper​(org.apache.logging.log4j.Logger logger, Settings settings, ThreadPool threadPool)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <Response> ActionListener<Response>
    wrap​(ActionListener<Response> listener)
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • Wrapper

      public Wrapper(org.apache.logging.log4j.Logger logger, Settings settings, ThreadPool threadPool)
  • Method Details