org.neo4j.helpers
Class DaemonThreadFactory

java.lang.Object
  extended by org.neo4j.helpers.DaemonThreadFactory
All Implemented Interfaces:
ThreadFactory

public class DaemonThreadFactory
extends Object
implements ThreadFactory

Yes, it's yet another daemon thread factory since Executors doesn't provide one. Sigh.


Constructor Summary
DaemonThreadFactory(String name)
           
 
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

DaemonThreadFactory

public DaemonThreadFactory(String name)
Method Detail

newThread

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


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.