public class DefaultCloseFuture extends DefaultSshFuture<CloseFuture> implements CloseFuture
CloseFuture
.CANCELED
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, await0, cancel, getValue, isCanceled, isDone, notifyListeners, removeListener, setValue
asListener, asT, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, notifyListener, verifyResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, removeListener
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone
public DefaultCloseFuture(Object lock)
lock
- A synchronization object for locking access - if null
then synchronization occurs on this
instancepublic boolean isClosed()
isClosed
in interface CloseFuture
public void setClosed()
CloseFuture
setClosed
in interface CloseFuture
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.