|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.ext.util.FutureList
public class FutureList
Constructor Summary | |
---|---|
FutureList()
|
Method Summary | |
---|---|
boolean |
add(java.lang.Object o)
Add the future to the futureList This method does not test if the future is already in the list. |
boolean |
allAwaited()
Return true if all the futures in the current list are awaited |
int |
countAwaited()
Return the number of currently awaited futures in this list |
java.lang.Object |
get(int index)
Return the element at the specified position in this List |
java.lang.Object |
getOne()
Returns a future available in this list. |
boolean |
noneAwaited()
Return true if none of the futures in the current list are awaited |
boolean |
remove(java.lang.Object o)
Remove the object from the FutureList Return true if successfull |
java.lang.Object |
removeOne()
Removes and returns a future available this list. |
int |
size()
Return the number of future in the List |
void |
waitAll()
|
java.lang.Object |
waitAndGetOne()
|
java.lang.Object |
waitAndGetTheNth(int n)
|
java.lang.Object |
waitAndRemoveOne()
|
void |
waitN(int n)
|
void |
waitOne()
|
void |
waitTheNth(int n)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FutureList()
Method Detail |
---|
public boolean add(java.lang.Object o)
public boolean remove(java.lang.Object o)
public int size()
public java.lang.Object get(int index)
public boolean allAwaited()
public boolean noneAwaited()
public int countAwaited()
public java.lang.Object getOne()
public java.lang.Object removeOne()
public java.lang.Object waitAndGetOne()
public java.lang.Object waitAndRemoveOne()
public void waitAll()
public void waitOne()
public void waitN(int n)
public void waitTheNth(int n)
public java.lang.Object waitAndGetTheNth(int n)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |