public interface AutoCloseableAsync extends AutoCloseable
| Modifier and Type | Method and Description | 
|---|---|
default void | 
close()  | 
CompletableFuture<Void> | 
closeAsync()
Trigger the closing of the resource and return the corresponding close future. 
 | 
CompletableFuture<Void> closeAsync()
default void close()
            throws Exception
close in interface AutoCloseableExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.