|
JACK 5.4 Application Interface | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaos.jack.jak.util.Watchable
aos.jack.util.thread.TaskJunction
TaskJunction is a synchronisation resource for plans and threads. It allows a monitoring plan (or thread) to wait until a group of plans have completed.
Constructor Summary | |
TaskJunction()
Constructs a task Junction. |
Method Summary | |
Cursor |
escape()
Returns a Cursor object that allows a joined plan to temporarily escape the TaskJunction while while waiting for a particular condition to become true. |
Cursor |
escape(Cursor c)
|
int |
getCount()
This returns the number of plans in the junction. |
Cursor |
idle()
Returns a Cursor object to detect when the TaskJunction becomes idle. |
void |
join()
Called by a plan in order to join the TaskJunction. |
void |
leave()
Called by a plan in order to leave the TaskJunction. |
Methods inherited from class aos.jack.jak.util.Watchable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TaskJunction()
Method Detail |
public void join()
public int getCount()
public void leave()
public Cursor idle()
public Cursor escape()
public Cursor escape(Cursor c)
|
JACK 5.4 Application Interface | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.