We are using the following code
vertx.executeBlocking( future -> { // do something that might take long time for some situation future.complete(); },