public class CustomizableThreadFactory extends CustomizableThreadCreator implements ThreadFactory
CGLIB_CLASS_SEPARATOR| Constructor and Description |
|---|
CustomizableThreadFactory()
Create a new CustomizableThreadFactory with default thread name prefix.
|
CustomizableThreadFactory(String threadNamePrefix)
Create a new CustomizableThreadFactory with the given thread name prefix.
|
| Modifier and Type | Method and Description |
|---|---|
Thread |
newThread(Runnable runnable) |
createThread, getDefaultThreadNamePrefix, getShortName, getThreadGroup, getThreadNamePrefix, getThreadPriority, isDaemon, nextThreadName, setDaemon, setThreadGroup, setThreadGroupName, setThreadNamePrefix, setThreadPrioritypublic CustomizableThreadFactory()
public CustomizableThreadFactory(String threadNamePrefix)
threadNamePrefix - the prefix to use for the names of newly created threadspublic Thread newThread(Runnable runnable)
newThread in interface ThreadFactoryCopyright © 2025. All rights reserved.