public class DefaultCloseFuture extends DefaultSshFuture<CloseFuture> implements CloseFuture
CloseFuture.CANCELEDlog| Constructor and Description |
|---|
DefaultCloseFuture(Object lock)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isClosed() |
void |
setClosed()
Marks this future as closed and notifies all threads waiting for this
future.
|
addListener, await0, cancel, getNumRegisteredListeners, getValue, isCanceled, isDone, notifyListeners, removeListener, setValueasListener, asT, await, awaitUninterruptibly, notifyListener, verifyResultgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, removeListenerawait, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDonepublic DefaultCloseFuture(Object lock)
lock - A synchronization object for locking access - if null
then synchronization occurs on this instancepublic boolean isClosed()
isClosed in interface CloseFuturepublic void setClosed()
CloseFuturesetClosed in interface CloseFutureCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.