Interface AutoCloseableAsync

  • All Superinterfaces:
    AutoCloseable

    public interface AutoCloseableAsync
    extends AutoCloseable
    Closeable interface which allows to close a resource in a non blocking fashion.
    • Method Detail

      • closeAsync

        CompletableFuture<Void> closeAsync()
        Trigger the closing of the resource and return the corresponding close future.
        Returns:
        Future which is completed once the resource has been closed