Uses of Class
org.elasticsearch.action.ActionRunnable
-
Packages that use ActionRunnable Package Description org.elasticsearch.action -
-
Uses of ActionRunnable in org.elasticsearch.action
Methods in org.elasticsearch.action that return ActionRunnable Modifier and Type Method Description static <T> ActionRunnable<T>ActionRunnable. run(ActionListener<T> listener, CheckedRunnable<Exception> runnable)Creates aRunnablethat invokes the given listener withnullafter the given runnable has executed.static <T> ActionRunnable<T>ActionRunnable. supply(ActionListener<T> listener, CheckedSupplier<T,Exception> supplier)Creates aRunnablethat invokes the given listener with the return of the given supplier.static <T> ActionRunnable<T>ActionRunnable. wrap(ActionListener<T> listener, CheckedConsumer<ActionListener<T>,Exception> consumer)
-