org.jasig.portal.utils.threading
Class PriorityThreadFactory

java.lang.Object
  extended by org.jasig.portal.utils.threading.PriorityThreadFactory
All Implemented Interfaces:
edu.emory.mathcs.backport.java.util.concurrent.ThreadFactory

public class PriorityThreadFactory
extends java.lang.Object
implements edu.emory.mathcs.backport.java.util.concurrent.ThreadFactory

Implementation of a ThreadFactory that allows you to set the thread priority.

Version:
$Revision: 1.1.4.1 $ $Date: 2005/08/04 20:50:53 $
Author:
Scott Battaglia

Field Summary
private  int threadPriority
           
 
Constructor Summary
PriorityThreadFactory(int threadPriority)
           
 
Method Summary
 java.lang.Thread newThread(java.lang.Runnable runnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

threadPriority

private final int threadPriority
Constructor Detail

PriorityThreadFactory

public PriorityThreadFactory(int threadPriority)
Method Detail

newThread

public java.lang.Thread newThread(java.lang.Runnable runnable)
Specified by:
newThread in interface edu.emory.mathcs.backport.java.util.concurrent.ThreadFactory