Interface StubbableTransport.SendRequestBehavior

Enclosing class:
StubbableTransport
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface StubbableTransport.SendRequestBehavior
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    void
    sendRequest(org.elasticsearch.transport.Transport.Connection connection, long requestId, String action, org.elasticsearch.transport.TransportRequest request, org.elasticsearch.transport.TransportRequestOptions options)
     
  • Method Details

    • sendRequest

      void sendRequest(org.elasticsearch.transport.Transport.Connection connection, long requestId, String action, org.elasticsearch.transport.TransportRequest request, org.elasticsearch.transport.TransportRequestOptions options) throws IOException
      Throws:
      IOException
    • clearCallback

      default void clearCallback()