verifyXXX method returns without an exception then the operation was completed successfully
| Modifier and Type | Method and Description |
|---|---|
| public default T | |
| public default T | Returns: The (same) future instanceOptional options)CancelOptions defining the behavior on time-out or interrupt; ignored if the
future is not Cancellable.Wait |
| public default T | |
| public default T | Returns: The (same) future instanceThe number of time units to wait timeout, TimeUnit The wait unit, CancelOption... TimeUnitOptional options)CancelOptions defining the behavior on time-out or interrupt; ignored if the
future is not Cancellable.Wait and verify that the operation was successful |
| public default T | |
| public default T | Returns: The (same) future instanceThe maximum duration to wait, timeout, CancelOption... null to wait foreverOptional options)CancelOptions defining the behavior on time-out or interrupt; ignored if the
future is not Cancellable.Wait and verify that the operation was successful |
| public default T | Returns: The (same) future instanceWait timeout in milliseconds timeoutMillis)Wait and verify that the operation was successful |
| public T | Returns: The (same) future instanceWait timeout in milliseconds timeoutMillis, CancelOption... Optional options)CancelOptions defining the behavior on time-out or interrupt; ignored if
the future is not Cancellable.Wait and verify that the operation was successful |
| verify | back to summary |
|---|---|
| public default T verify() throws IOException Wait
| |
| verify | back to summary |
|---|---|
| public default T verify(CancelOption... options) throws IOException Wait
| |
| verify | back to summary |
|---|---|
| public default T verify(long timeout, TimeUnit unit) throws IOException Wait and verify that the operation was successful
| |
| verify | back to summary |
|---|---|
| public default T verify(long timeout, TimeUnit unit, CancelOption... options) throws IOException Wait and verify that the operation was successful
| |
| verify | back to summary |
|---|---|
| public default T verify(Duration timeout) throws IOException Wait and verify that the operation was successful
| |
| verify | back to summary |
|---|---|
| public default T verify(Duration timeout, CancelOption... options) throws IOException Wait and verify that the operation was successful
| |
| verify | back to summary |
|---|---|
| public default T verify(long timeoutMillis) throws IOException Wait and verify that the operation was successful
| |
| verify | back to summary |
|---|---|
| public T verify(long timeoutMillis, CancelOption... options) throws IOException Wait and verify that the operation was successful
| |