Uses of Interface
org.elasticsearch.index.reindex.RejectAwareActionListener
-
Packages that use RejectAwareActionListener Package Description org.elasticsearch.index.reindex -
-
Uses of RejectAwareActionListener in org.elasticsearch.index.reindex
Methods in org.elasticsearch.index.reindex that return RejectAwareActionListener Modifier and Type Method Description static <X> RejectAwareActionListener<X>RejectAwareActionListener. withResponseHandler(RejectAwareActionListener<?> errorDelegate, Consumer<X> responseHandler)Return a new listener that delegates failure/reject to errorDelegate but forwards response to responseHandlerstatic <Response> RejectAwareActionListener<Response>RejectAwareActionListener. wrap(CheckedConsumer<Response,? extends Exception> onResponse, Consumer<Exception> onFailure, Consumer<Exception> onRejection)Similar toActionListener.wrap(CheckedConsumer, Consumer), extended to have handler for onRejection.Methods in org.elasticsearch.index.reindex with parameters of type RejectAwareActionListener Modifier and Type Method Description protected abstract voidScrollableHitSource. doStart(RejectAwareActionListener<ScrollableHitSource.Response> searchListener)protected abstract voidScrollableHitSource. doStartNextScroll(String scrollId, TimeValue extraKeepAlive, RejectAwareActionListener<ScrollableHitSource.Response> searchListener)static <X> RejectAwareActionListener<X>RejectAwareActionListener. withResponseHandler(RejectAwareActionListener<?> errorDelegate, Consumer<X> responseHandler)Return a new listener that delegates failure/reject to errorDelegate but forwards response to responseHandler
-