Class ServiceThreadGroup

  • All Implemented Interfaces:
    java.lang.Thread.UncaughtExceptionHandler

    public final class ServiceThreadGroup
    extends java.lang.ThreadGroup
    This 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 ServiceThreadGroup getInstance()
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getInstance

        public static ServiceThreadGroup getInstance()
        Retur the unique instance of this class.
        Returns:
        Unique instance of the group.