|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orc.runtime.Group
public class Group
Every token belongs to a group which decides whether that token is active or not. Groups form a tree structure. Groups can be forcibly killed. When a group is killed, all of its children are also killed immediately. The tokens, however, are killed lazily as they become active.
Field Summary | |
---|---|
protected boolean |
alive
Is this group currently alive? |
Constructor Summary | |
---|---|
Group()
|
Method Summary | |
---|---|
void |
add(Group child)
Add a subgroup. |
boolean |
isAlive()
Is this group currently alive? |
void |
kill()
Forcibly terminate this group and all of its children. |
void |
onKill()
Override this. |
void |
remove(Group child)
Remove a subgroup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean alive
Constructor Detail |
---|
public Group()
Method Detail |
---|
public final void add(Group child)
public final void remove(Group child)
public final void kill()
public void onKill()
public final boolean isAlive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |