org.apache.camel.util.concurrent
Class ThreadHelper
java.lang.Object
org.apache.camel.util.concurrent.ThreadHelper
public final class ThreadHelper
- extends Object
Various helper method for thread naming.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PATTERN
public static final String DEFAULT_PATTERN
- See Also:
- Constant Field Values
resolveThreadName
public static String resolveThreadName(String pattern,
String name)
- Creates a new thread name with the given pattern
See
ExecutorServiceManager.setThreadNamePattern(String)
for supported patterns.
- Parameters:
pattern
- the patternname
- the name
- Returns:
- the thread name, which is unique
Apache CAMEL