public class DefaultCloseFuture extends DefaultSshFuture<CloseFuture> implements CloseFuture
CloseFuture
.Constructor and Description |
---|
DefaultCloseFuture(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, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListener
public DefaultCloseFuture(Object lock)
public boolean isClosed()
CloseFuture
isClosed
in interface CloseFuture
public void setClosed()
CloseFuture
setClosed
in interface CloseFuture
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.