public interface AsyncCloseable
AsyncCloseable is 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 |
|---|---|
CompletableFuture<Void> |
closeAsync()
Requests to close this object and releases any system resources associated with it.
|
CompletableFuture<Void> closeAsync()
Calls to this method return a CompletableFuture that is notified with the outcome of the close request.
Copyright © 2020 lettuce.io. All rights reserved.