org.apache.logging.log4j.core.async
Class DaemonThreadFactory

java.lang.Object
  extended by org.apache.logging.log4j.core.async.DaemonThreadFactory
All Implemented Interfaces:
ThreadFactory

public class DaemonThreadFactory
extends Object
implements ThreadFactory

ThreadFactory that creates daemon threads for the async loggers.


Constructor Summary
DaemonThreadFactory(String threadNamePrefix)
           
 
Method Summary
 Thread newThread(Runnable runnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaemonThreadFactory

public DaemonThreadFactory(String threadNamePrefix)
Method Detail

newThread

public Thread newThread(Runnable runnable)
Specified by:
newThread in interface ThreadFactory


Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.