@SuppressWarnings("unchecked")
    private <T> Handler<AsyncResult<CompositeFuture>> handleCompositeResult(IAsyncResultHandler<T> apimanResultHandler) {
        return result -> {
            if (result.succeeded()) {
                apimanResultHandler.handle(AsyncResultImpl.create((T) result.result()));
            } else {
                apimanResultHandler.handle(AsyncResultImpl.create(result.cause()));
            }
        };
    }
@author Marc Savy {@literal <marc@rhymewithgravy.com>}
gateway/engine/vertx-shareddata/src/main/java/io/apiman/gateway/engine/vertx/shareddata/SharedGlobalDataRegistry.java