public interface Closeable
Closeable
is a resource that can be closed.
The close method is invoked to release resources that the object is
holding.Modifier and Type | Method and Description |
---|---|
CloseFuture |
close(boolean immediately)
Close this resource asynchronously and return a future.
|
CloseFuture close(boolean immediately)
immediately
- true
if the resource should be shut down abruptly,
false
for a graceful closeCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.