com.sun.sgs.impl.io
Class DaemonThreadFactory

java.lang.Object
  extended by com.sun.sgs.impl.io.DaemonThreadFactory
All Implemented Interfaces:
ThreadFactory

final class DaemonThreadFactory
extends Object
implements ThreadFactory

A ThreadFactory that creates with setDaemon(true).


Constructor Summary
DaemonThreadFactory()
          Default constructor.
 
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()
Default constructor.

Method Detail

newThread

public Thread newThread(Runnable r)

This implementation creates daemon threads.

Specified by:
newThread in interface ThreadFactory
See Also:
Thread.setDaemon(boolean)

Project Darkstar, Version 0.9.8.10
2013-07-29 20:39:31

Copyright © 2007-2013 Sun Microsystems, Inc. All rights reserved