DESY ACOP Beans Home

de.desy.acop.displayers.tools
Class TINEThreadFactory

java.lang.Object
  extended by de.desy.acop.displayers.tools.TINEThreadFactory
All Implemented Interfaces:
java.util.concurrent.ThreadFactory

public class TINEThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory

Thread factory to be used with applications.

Version:
$Id: Templates.xml,v 1.10 2004/01/13 16:17:13 jbobnar Exp $
Author:
Jaka Bobnar

Constructor Summary
TINEThreadFactory(java.lang.String name)
          Constructs a new factory with the given name.
TINEThreadFactory(java.lang.String name, boolean lowPriority)
          Constructs a new factory with the given name.
 
Method Summary
 java.lang.Thread newThread(java.lang.Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TINEThreadFactory

public TINEThreadFactory(java.lang.String name,
                         boolean lowPriority)
Constructs a new factory with the given name.

Parameters:
name -
lowPriortiy - should the threads from this factory have priority set to low

TINEThreadFactory

public TINEThreadFactory(java.lang.String name)
Constructs a new factory with the given name.

Parameters:
name -
Method Detail

newThread

public java.lang.Thread newThread(java.lang.Runnable r)
Specified by:
newThread in interface java.util.concurrent.ThreadFactory


Copyright © 2010. All Rights Reserved.