public static final class CismetConcurrency.CismetThreadFactory extends Object implements ThreadFactory
Executors.defaultThreadFactory() implementation. All threads created by this factory
will be contained in the given ThreadGroup and the thread's names will have the follow pattern:myCoolPrefix-pool-3-thread-27Thread.NORM_PRIORITY priority and uses the
given Thread.UncaughtExceptionHandler as exception handler.| Constructor and Description |
|---|
CismetThreadFactory(ThreadGroup threadGroup,
String prefix,
Thread.UncaughtExceptionHandler excHandler)
Creates a new SudplanThreadFactory object.
|
public CismetThreadFactory(ThreadGroup threadGroup, String prefix, Thread.UncaughtExceptionHandler excHandler)
threadGroup - the ThreadGroup for every thread created by this factoryprefix - the prefix for every thread's name created by this factoryexcHandler - the Thread.UncaughtExceptionHandler for every thread created by this factorypublic Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2012–2026 cismet GmbH. All rights reserved.