org.mule.module.launcher
Class AppDeployerMonitorThreadFactory

java.lang.Object
  extended by org.mule.module.launcher.AppDeployerMonitorThreadFactory
All Implemented Interfaces:
ThreadFactory

public class AppDeployerMonitorThreadFactory
extends Object
implements ThreadFactory

A slightly tweaked default thread factory that uses the following pattern: config-change-[%s]-%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.


Constructor Summary
AppDeployerMonitorThreadFactory()
           
 
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

AppDeployerMonitorThreadFactory

public AppDeployerMonitorThreadFactory()
Method Detail

newThread

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


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.