public class DefaultCloseFuture extends DefaultSshFuture<CloseFuture> implements CloseFuture
CloseFuture.| Constructor and Description |
|---|
DefaultCloseFuture(java.lang.Object lock)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isClosed()
Returns true if the close request is finished and the target is closed.
|
void |
setClosed()
Marks this future as closed and notifies all threads waiting for this
future.
|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getValue, isCanceled, isDone, removeListener, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListenerpublic DefaultCloseFuture(java.lang.Object lock)
public boolean isClosed()
CloseFutureisClosed in interface CloseFuturepublic void setClosed()
CloseFuturesetClosed in interface CloseFutureCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.