public abstract class AbstractIoWriteFuture extends DefaultVerifiableSshFuture<IoWriteFuture> implements IoWriteFuture
CANCELEDlog| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIoWriteFuture(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, setValueasListener, asT, await, awaitUninterruptibly, notifyListener, verifyResultgetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, removeListenerawait, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDoneverify, verifyprotected AbstractIoWriteFuture(Object lock)
public 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 © 2008–2017 The Apache Software Foundation. All rights reserved.