public class LoggingThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
Constructor and Description |
---|
LoggingThreadFactory(java.util.logging.Logger logger)
Constructor.
|
LoggingThreadFactory(java.util.logging.Logger logger,
boolean daemon)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Thread |
newThread(java.lang.Runnable r)
Creates a new thread.
|
public LoggingThreadFactory(java.util.logging.Logger logger)
logger
- The associated logger.public LoggingThreadFactory(java.util.logging.Logger logger, boolean daemon)
logger
- The associated logger.daemon
- Indicates if threads should be created as daemons.Copyright © 2005-2024 Restlet.