public abstract class AbstractIoWriteFuture extends DefaultSshFuture<IoWriteFuture> implements IoWriteFuture
log| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIoWriteFuture(Object lock) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException() |
boolean |
isWritten() |
void |
verify()
Wait and verify that the write succeeded.
|
void |
verify(long timeout) |
void |
verify(long count,
TimeUnit unit) |
addListener, await, await, await, await0, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getValue, isCanceled, isDone, removeListener, setValue, verifyResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, isDone, removeListenerprotected AbstractIoWriteFuture(Object lock)
public void verify()
throws IOException
IoWriteFutureverify in interface IoWriteFutureIOException - if the write failed for any reasonpublic void verify(long count,
TimeUnit unit)
throws IOException
verify in interface IoWriteFutureIOExceptionpublic void verify(long timeout)
throws IOException
verify in interface IoWriteFutureIOExceptionpublic boolean isWritten()
isWritten in interface IoWriteFuturepublic Throwable getException()
getException in interface IoWriteFutureException. Otherwise,
null is returned.Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.