T
- Type of verification resultpublic interface VerifiableFuture<T>
verifyXXX
method returns without an exception then the operation was completed
successfullyModifier and Type | Method and Description |
---|---|
T |
verify()
Wait
Long.MAX_VALUE msec. |
T |
verify(long timeoutMillis)
Wait and verify that the operation was successful
|
T |
verify(long timeout,
TimeUnit unit)
Wait and verify that the operation was successful
|
T verify() throws IOException
Long.MAX_VALUE
msec. and verify that the operation was successfulIOException
- If failed to verify successfully on timeverify(long)
T verify(long timeout, TimeUnit unit) throws IOException
timeout
- The number of time units to waitunit
- The wait TimeUnit
IOException
- If failed to verify successfully on timeverify(long)
T verify(long timeoutMillis) throws IOException
timeoutMillis
- Wait timeout in millisecondsIOException
- If failed to verify successfully on timeCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.