public class SchedulerThreadFactory extends Object implements ThreadFactory
ThreadFactory implementation that sets a ThreadGroup and a name with a counter to the created Threads| Constructor and Description |
|---|
SchedulerThreadFactory(ThreadGroup group) |
SchedulerThreadFactory(ThreadGroup group,
String nameFormat) |
| Modifier and Type | Method and Description |
|---|---|
AtomicLong |
getCounter() |
ThreadGroup |
getGroup() |
Thread |
newThread(Runnable runnable) |
public SchedulerThreadFactory(ThreadGroup group)
public SchedulerThreadFactory(ThreadGroup group, String nameFormat)
public Thread newThread(Runnable runnable)
newThread in interface ThreadFactorypublic ThreadGroup getGroup()
public AtomicLong getCounter()
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.