|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.common.util.concurrent.DaemonThreadFactory
@Beta public class DaemonThreadFactory
Wraps another ThreadFactory
, making all new threads daemon threads.
Constructor Summary | |
---|---|
DaemonThreadFactory(java.util.concurrent.ThreadFactory factory)
|
Method Summary | |
---|---|
java.lang.Thread |
newThread(java.lang.Runnable r)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DaemonThreadFactory(java.util.concurrent.ThreadFactory factory)
Method Detail |
---|
public java.lang.Thread newThread(java.lang.Runnable r)
newThread
in interface java.util.concurrent.ThreadFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |