public interface AsyncCloseable extends AsyncCloseable
AsyncCloseableis a resource that can be closed. The
closeAsync()method is invoked to request resources release that the object is holding (such as open files).
|Modifier and Type||Method and Description|
Requests to close this object and releases any system resources associated with it.
Calls to this method return a
CompletableFuture that is notified with the outcome of the close request.
Copyright © 2023 lettuce.io. All rights reserved.