Interface AsyncCloseable

    • Method Detail

      • closeAsync

        CompletableFuture<Void> closeAsync()
        Deprecated.
        Requests to close this object and releases any system resources associated with it. If the object is already closed then invoking this method has no effect.

        Calls to this method return a CompletableFuture that is notified with the outcome of the close request.