public class DefaultCloseFuture extends DefaultSshFuture<CloseFuture> implements CloseFuture
CloseFuture.log| 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, await, await, await, await0, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getValue, isCanceled, isDone, removeListener, setValue, verifyResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListenerpublic 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–2015 The Apache Software Foundation. All rights reserved.