org.apache.jcs.utils.discovery
Class UDPDiscoveryReceiver.MyThreadFactory
java.lang.Object
org.apache.jcs.utils.discovery.UDPDiscoveryReceiver.MyThreadFactory
- All Implemented Interfaces:
- ThreadFactory
- Enclosing class:
- UDPDiscoveryReceiver
protected static class UDPDiscoveryReceiver.MyThreadFactory
- extends Object
- implements ThreadFactory
Allows us to set the daemon status on the executor threads
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDPDiscoveryReceiver.MyThreadFactory
protected UDPDiscoveryReceiver.MyThreadFactory()
newThread
public Thread newThread(Runnable runner)
- Sets the thread to daemon.
- Specified by:
newThread in interface ThreadFactory
- Parameters:
runner -
- Returns:
- a daemon thread
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.