Package org.apache.camel.util.concurrent
Class ThreadHelper
java.lang.Object
org.apache.camel.util.concurrent.ThreadHelper
Various helper method for thread naming.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
resolveThreadName
(String pattern, String name) Creates a new thread name with the given pattern
-
Field Details
-
DEFAULT_PATTERN
- See Also:
-
-
Method Details
-
resolveThreadName
Creates a new thread name with the given pattern Seeorg.apache.camel.spi.ExecutorServiceManager#setThreadNamePattern(String)
for supported patterns.- Parameters:
pattern
- the patternname
- the name- Returns:
- the thread name, which is unique
-