|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.index.DefaultIndex.Success
public static class DefaultIndex.Success
Indicate that an operation completed successfully.
| Constructor Summary | |
|---|---|
DefaultIndex.Success()
|
|
| 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 DefaultIndex.Success()
| Method Detail |
|---|
public void await()
Index.Result
await in interface Index.Result
public boolean await(long timeout,
TimeUnit unit)
Index.ResultTimeoutException if the timeout is reached.
await in interface Index.Resulttimeout - the amount to waitunit - the unit to count the timeout in
public boolean isDone()
Index.ResultIndex.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 | |||||||||