|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.index.MockResult
public class MockResult
Constructor Summary | |
---|---|
MockResult()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockResult()
Method Detail |
---|
public void await()
Index.Result
await
in interface Index.Result
public boolean await(long timeout, TimeUnit unit)
Index.Result
TimeoutException
if the timeout is reached.
await
in interface Index.Result
timeout
- the amount to waitunit
- the unit to count the timeout in
public boolean isDone()
Index.Result
Index.Result.await()
and
Index.Result.await(long, TimeUnit)
will not block.
isDone
in interface Index.Result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |