org.apache.jcs.utils.discovery
Class UDPDiscoveryReceiver.MyThreadFactory

java.lang.Object
  extended by 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


Constructor Summary
protected UDPDiscoveryReceiver.MyThreadFactory()
           
 
Method Summary
 Thread newThread(Runnable runner)
          Sets the thread to daemon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDPDiscoveryReceiver.MyThreadFactory

protected UDPDiscoveryReceiver.MyThreadFactory()
Method Detail

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.