|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jelly.TagSupport | +--org.apache.commons.jelly.tags.threads.UseThreadTag | +--org.apache.commons.jelly.tags.threads.JoinTag
A thread join waits until a thread or threadGroup is complete.
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
JoinTag()
|
Method Summary | |
void |
setTimeout(long timeout)
How long should the join wait. |
protected void |
useThread(java.lang.Thread thread,
org.apache.commons.jelly.XMLOutput output)
Perform the thread join |
protected void |
useThreadGroup(java.util.List threadGroup,
org.apache.commons.jelly.XMLOutput output)
Join all of the threads in a thread group |
Methods inherited from class org.apache.commons.jelly.tags.threads.UseThreadTag |
doTag, getThread, getThreadGroup, setSearchForParentThread, setThread, setThreadGroup |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JoinTag()
Method Detail |
protected void useThread(java.lang.Thread thread, org.apache.commons.jelly.XMLOutput output) throws java.lang.InterruptedException
useThread
in class UseThreadTag
protected void useThreadGroup(java.util.List threadGroup, org.apache.commons.jelly.XMLOutput output) throws java.lang.InterruptedException
useThreadGroup
in class UseThreadTag
public void setTimeout(long timeout)
timeout
- in millis
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |