Package org.hcjf.service
Class ServiceThreadGroup
- java.lang.Object
-
- java.lang.ThreadGroup
-
- org.hcjf.service.ServiceThreadGroup
-
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
public final class ServiceThreadGroup extends java.lang.ThreadGroupThis class is a singleton and all the service thread run over the unique instance of this class as a group.- Author:
- javaito
-
-
Method Summary
Modifier and Type Method Description static ServiceThreadGroupgetInstance()Retur the unique instance of this class.-
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, uncaughtException
-
-
-
-
Method Detail
-
getInstance
public static ServiceThreadGroup getInstance()
Retur the unique instance of this class.- Returns:
- Unique instance of the group.
-
-