Package com.tagtraum.beatunes
Class PriorityThreadFactory
- java.lang.Object
-
- com.tagtraum.beatunes.PriorityThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public final class PriorityThreadFactory extends Object implements ThreadFactory
PriorityThreadFactory.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PriorityThreadFactory
getInstance(int prio)
Thread
newThread(Runnable runnable)
-
-
-
Method Detail
-
newThread
public Thread newThread(Runnable runnable)
- Specified by:
newThread
in interfaceThreadFactory
-
getInstance
public static PriorityThreadFactory getInstance(int prio)
- Parameters:
prio
- priority- Returns:
- thread factory
-
-