类 ThreadUtils


  • public class ThreadUtils
    extends java.lang.Object
    作者:
    ZSP
    • 构造器概要

      构造器 
      构造器 说明
      ThreadUtils()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static void join​(long mills)  
      static void join​(java.lang.Thread thread)  
      static void sleepSeconds​(long timeout)  
      static void start​(java.lang.Thread thread)  
      static void startAndJoin​(java.lang.Thread thread)  
      static void startAndJoin​(java.lang.Thread thread, long mills)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ThreadUtils

        public ThreadUtils()
    • 方法详细资料

      • join

        public static void join​(long mills)
      • sleepSeconds

        public static void sleepSeconds​(long timeout)
      • startAndJoin

        public static void startAndJoin​(java.lang.Thread thread,
                                        long mills)
      • startAndJoin

        public static void startAndJoin​(java.lang.Thread thread)
      • start

        public static void start​(java.lang.Thread thread)
      • join

        public static void join​(java.lang.Thread thread)