|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.simpleworkflow.flow.core.Promise<java.lang.Void>
com.amazonaws.services.simpleworkflow.flow.core.OrPromise
public class OrPromise
Promise that becomes ready when any of its values becomes ready.
null value is considered ready.
| Constructor Summary | |
|---|---|
OrPromise(Promise<?>... values)
|
|
| Method Summary | |
|---|---|
java.lang.Void |
get()
|
Promise<?>[] |
getValues()
|
boolean |
isReady()
|
| Methods inherited from class com.amazonaws.services.simpleworkflow.flow.core.Promise |
|---|
asPromise, getDescription, Void |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrPromise(Promise<?>... values)
| Method Detail |
|---|
public Promise<?>[] getValues()
public java.lang.Void get()
get in class Promise<java.lang.Void>public boolean isReady()
isReady in class Promise<java.lang.Void>true if the result of your asynchronous computation
is available
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||