Package com.zfabrik.util.threading
Class TimerUtil
- java.lang.Object
-
- com.zfabrik.util.threading.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)
-
-
-
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)
-
-