Class SidedThreadGroup

  • All Implemented Interfaces:
    java.lang.Thread.UncaughtExceptionHandler, java.util.concurrent.ThreadFactory

    public final class SidedThreadGroup
    extends java.lang.ThreadGroup
    implements java.util.concurrent.ThreadFactory
    A thread group and factory combination which belongs to a LogicalSide.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private LogicalSide side  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LogicalSide getSide()
      Gets the side this sided thread group belongs to.
      java.lang.Thread newThread​(java.lang.Runnable runnable)  
      • 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
    • Constructor Detail

      • SidedThreadGroup

        SidedThreadGroup​(LogicalSide side)
    • Method Detail

      • getSide

        public LogicalSide getSide()
        Gets the side this sided thread group belongs to.
        Returns:
        the side
      • newThread

        public java.lang.Thread newThread​(@Nonnull
                                          java.lang.Runnable runnable)
        Specified by:
        newThread in interface java.util.concurrent.ThreadFactory