public class DefaultCloseFuture extends DefaultSshFuture<CloseFuture> implements CloseFuture
CloseFuture
.CANCELED, debugEnabled, traceEnabled
log
Constructor and Description |
---|
DefaultCloseFuture(Object id,
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, setValue, toString
asListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResult
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, removeListener
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDone
public boolean isClosed()
isClosed
in interface CloseFuture
public void setClosed()
CloseFuture
setClosed
in interface CloseFuture
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.