|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ThreadGroup
org.apache.uima.collection.impl.cpm.engine.CPMThreadGroup
public class CPMThreadGroup
This component catches uncaught errors in the CPM. All critical threads in the CPM are part of this ThreadGroup. If OutOfMemory Error is thrown this component is notified by the JVM and its job is to notify registered listeners.
Constructor Summary | |
---|---|
CPMThreadGroup(java.lang.String name)
|
|
CPMThreadGroup(java.lang.ThreadGroup parent,
java.lang.String name)
|
Method Summary | |
---|---|
void |
cleanup()
|
void |
setListeners(java.util.ArrayList aListenerList)
Sets listeners to be used in notifications |
void |
setProcessTrace(ProcessTrace aProcessTrace)
|
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
|
Methods inherited from class java.lang.ThreadGroup |
---|
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CPMThreadGroup(java.lang.String name)
name
- public CPMThreadGroup(java.lang.ThreadGroup parent, java.lang.String name)
parent
- -
parent thread groupname
- -
name of this thread groupMethod Detail |
---|
public void setListeners(java.util.ArrayList aListenerList)
aListenerList
- -
list of registered listnerspublic void setProcessTrace(ProcessTrace aProcessTrace)
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler
uncaughtException
in class java.lang.ThreadGroup
public void cleanup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |