private CompletableFuture < Void > runAsync ( RunnableWithException operation , String ... segmentNames ) { return supplyAsync ( ( ) -> { operation . run ( ) ; return null ; } , segmentNames ) ; }
Executes the given RunnableWithException asynchronously and returns a CompletableFuture that will be completed when the Runnable completes .