com.atlassian.jira.index.Index.Result |
![]()
|
The payload is unimportant. Call await()
simply to block on the
result being computed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Await the result of the operation.
| |||||||||||
Await the result of the operation for the specified time, throwing a
TimeoutException if the timeout is reached.
| |||||||||||
Has the operation completed yet.
|
Await the result of the operation.
RuntimeInterruptedException | if interrupted |
---|---|
RuntimeException | if the underlying operation caught an exception |
Error | if the underlying operation caught an error |
Await the result of the operation for the specified time, throwing a TimeoutException if the timeout is reached.
timeout | the amount to wait |
---|---|
unit | the unit to count the timeout in |
RuntimeInterruptedException | if interrupted |
---|---|
RuntimeException | if the underlying operation caught an exception |
Error | if the underlying operation caught an error |
Has the operation completed yet. If true then await()
and
await(long, TimeUnit)
will not block.