Class TimerUtil


  • public class TimerUtil
    extends java.lang.Object
    Use this utility to retrieve timers that hold no class loader
    uncool: TimerThread will hold on to some context class loader that may have become invalid in the meantime.
    Author:
    hb
    • Constructor Summary

      Constructors 
      Constructor Description
      TimerUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Timer createTimer()  
      static java.util.Timer createTimer​(boolean isDaemon)  
      static java.util.Timer createTimer​(java.lang.String name)  
      static java.util.Timer createTimer​(java.lang.String name, boolean isDaemon)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimerUtil

        public TimerUtil()
    • Method Detail

      • createTimer

        public static java.util.Timer createTimer()
      • createTimer

        public static java.util.Timer createTimer​(boolean isDaemon)
      • createTimer

        public static java.util.Timer createTimer​(java.lang.String name)
      • createTimer

        public static java.util.Timer createTimer​(java.lang.String name,
                                                  boolean isDaemon)