public abstract class AbstractIoWriteFuture extends DefaultVerifiableSshFuture<IoWriteFuture> implements IoWriteFuture
CANCELEDlog| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIoWriteFuture(Object id,
Object lock) |
| Modifier and Type | Method and Description |
|---|---|
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, verifyResultdebug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, removeListenerawait, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getId, isDoneverify, verify, verifypublic IoWriteFuture verify(long timeout) throws IOException
VerifiableFutureverify in interface VerifiableFuture<IoWriteFuture>timeout - Wait timeout in millisecondsIOException - If failed to verify successfully on timepublic boolean isWritten()
isWritten in interface IoWriteFuturepublic Throwable getException()
getException in interface IoWriteFutureException.
Otherwise, null is returned (use WaitableFuture.isDone() to distinguish between the two.Copyright © 2018–2021 The Apache Software Foundation. All rights reserved.