public abstract class AbstractIoWriteFuture extends DefaultVerifiableSshFuture<IoWriteFuture> implements IoWriteFuture
CANCELED, debugEnabled, traceEnabledlog| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIoWriteFuture(java.lang.Object id,
java.lang.Object lock) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getException() |
boolean |
isWritten() |
IoWriteFuture |
verify(long timeout)
Wait and verify that the operation was successful
|
addListener, await0, cancel, getNumRegisteredListeners, getValue, isCanceled, isDone, notifyListeners, removeListener, setValue, toStringasListener, asT, await, awaitUninterruptibly, formatExceptionMessage, getId, notifyListener, verifyResultgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, removeListenerawait, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDoneverify, verifyprotected AbstractIoWriteFuture(java.lang.Object id,
java.lang.Object lock)
public IoWriteFuture verify(long timeout) throws java.io.IOException
VerifiableFutureverify in interface VerifiableFuture<IoWriteFuture>timeout - Wait timeout in millisecondsjava.io.IOException - If failed to verify successfully on timepublic boolean isWritten()
isWritten in interface IoWriteFuturepublic java.lang.Throwable getException()
getException in interface IoWriteFutureException. Otherwise,
null is returned (use WaitableFuture.isDone() to distinguish
between the two.