public ConfigurableThreadFactory(String namePrefix,
int priority,
boolean daemon,
Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
{
this.nameGenerator = new StringPrefixIDSource(namePrefix + '-', new IntSequenceIDSource());
this.priority = priority;
this.daemon = daemon;
this.uncaughtExceptionHandler = uncaughtExceptionHandler;
}