Class Overview
Indicate that an operation failed.
Summary
Public Methods |
void
|
await()
Await the result of the operation.
|
boolean
|
await(long timeout, TimeUnit unit)
Await the result of the operation for the specified time, throwing a
TimeoutException if the timeout is reached.
|
boolean
|
isDone()
Has the operation completed yet.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.jira.index.Index.Result
void
|
await()
Await the result of the operation.
|
boolean
|
await(long timeout, TimeUnit unit)
Await the result of the operation for the specified time, throwing a
TimeoutException if the timeout is reached.
|
boolean
|
isDone()
Has the operation completed yet.
|
|
Public Constructors
public
Failure
(Error failure)
Public Methods
public
void
await
()
Await the result of the operation.
public
boolean
await
(long timeout, TimeUnit unit)
Await the result of the operation for the specified time, throwing a
TimeoutException if the timeout is reached.
Parameters
timeout
| the amount to wait |
unit
| the unit to count the timeout in |
Returns
- false if the timeout is exceeded before the underlying
operation has completed, true if it has completed in time.
public
boolean
isDone
()
Returns
- whether the operation is complete or not.