org.apache.jcs.auxiliary.disk.jdbc
Class JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory

java.lang.Object
  extended by org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory
All Implemented Interfaces:
ThreadFactory
Enclosing class:
JDBCDiskCacheManagerAbstractTemplate

protected static class JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory
extends Object
implements ThreadFactory

Allows us to set the daemon status on the clock-daemon


Constructor Summary
protected JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory()
           
 
Method Summary
 Thread newThread(Runnable runner)
          Set the priority to min and daemon to true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory

protected JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory()
Method Detail

newThread

public Thread newThread(Runnable runner)
Set the priority to min and daemon to true.

Specified by:
newThread in interface ThreadFactory
Parameters:
runner -
Returns:
the daemon thread.


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.