public class ChannelSession.CommandCloseable extends Object implements Closeable
Constructor and Description |
---|
CommandCloseable() |
Modifier and Type | Method and Description |
---|---|
CloseFuture |
close(boolean immediately)
Close this resource asynchronously and return a future.
|
boolean |
isClosed()
Returns
true if this object has been closed. |
boolean |
isClosing()
Returns
true if the Closeable.close(boolean) method
has been called. |
public boolean isClosed()
Closeable
true
if this object has been closed.public boolean isClosing()
Closeable
true
if the Closeable.close(boolean)
method
has been called.
Note that this method will return true
even if
this Closeable.isClosed()
returns true
.public CloseFuture close(boolean immediately)
Closeable
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.