Uses of Class
org.elasticsearch.transport.Transport.ResponseContext
-
Packages that use Transport.ResponseContext Package Description org.elasticsearch.transport -
-
Uses of Transport.ResponseContext in org.elasticsearch.transport
Methods in org.elasticsearch.transport that return Transport.ResponseContext Modifier and Type Method Description Transport.ResponseContextTransport.ResponseHandlers. remove(long requestId)Removes and return theTransport.ResponseContextfor the given request ID or returnsnullif no context is associated with this request ID.Methods in org.elasticsearch.transport that return types with arguments of type Transport.ResponseContext Modifier and Type Method Description List<Transport.ResponseContext<? extends TransportResponse>>Transport.ResponseHandlers. prune(Predicate<Transport.ResponseContext> predicate)Removes and returns allTransport.ResponseContextinstances that match the predicateMethods in org.elasticsearch.transport with parameters of type Transport.ResponseContext Modifier and Type Method Description longTransport.ResponseHandlers. add(Transport.ResponseContext<? extends TransportResponse> holder)Adds a new response context and associates it with a new request ID.default voidTransportMessageListener. onResponseReceived(long requestId, Transport.ResponseContext context)Called for every response receivedvoidTransportService. onResponseReceived(long requestId, Transport.ResponseContext holder)Method parameters in org.elasticsearch.transport with type arguments of type Transport.ResponseContext Modifier and Type Method Description List<Transport.ResponseContext<? extends TransportResponse>>Transport.ResponseHandlers. prune(Predicate<Transport.ResponseContext> predicate)Removes and returns allTransport.ResponseContextinstances that match the predicate
-