org.mule.module.launcher
Class ConfigChangeMonitorThreadFactory
java.lang.Object
org.mule.module.launcher.ConfigChangeMonitorThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class ConfigChangeMonitorThreadFactory
- extends Object
- implements ThreadFactory
A slightly tweaked default thread factory that uses the following pattern:
[%s].config.change.%d.thread.%d
, where %s stands for application name,
the next number will tell one how many redeployments this app had during this container's
lifetime and the last digit, thread count, should always be 1. Left there for debugging
purposes to quickly locate any duplicate threads trying to perform a redeploy.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigChangeMonitorThreadFactory
public ConfigChangeMonitorThreadFactory(String appName)
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread
in interface ThreadFactory
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.