org.apache.jcs.auxiliary.disk.jdbc
Class JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory
protected JDBCDiskCacheManagerAbstractTemplate.MyThreadFactory()
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.