org.openrdf.http.object.threads
Class NamedThreadFactory

java.lang.Object
  extended by org.openrdf.http.object.threads.NamedThreadFactory
All Implemented Interfaces:
ThreadFactory

public class NamedThreadFactory
extends Object
implements ThreadFactory

Gives new threads a common prefix.

Author:
James Leigh

Constructor Summary
NamedThreadFactory(String name, boolean daemon)
           
 
Method Summary
 Thread newThread(Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedThreadFactory

public NamedThreadFactory(String name,
                          boolean daemon)
Method Detail

newThread

public Thread newThread(Runnable r)
Specified by:
newThread in interface ThreadFactory


Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.