Package org.elasticsearch.test.transport
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.
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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()
-