public class NamedThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
NamedThreadFactory(String prefix,
boolean makeDaemons)
Instantiates a new Named thread factory.
|
NamedThreadFactory(String prefix,
int totalSize)
Instantiates a new Named thread factory.
|
NamedThreadFactory(String prefix,
int totalSize,
boolean makeDaemons)
Instantiates a new Named thread factory.
|
public NamedThreadFactory(String prefix, int totalSize, boolean makeDaemons)
prefix - the prefixtotalSize - the total sizemakeDaemons - the make daemonspublic NamedThreadFactory(String prefix, boolean makeDaemons)
prefix - the prefixmakeDaemons - the make daemonspublic NamedThreadFactory(String prefix, int totalSize)
prefix - the prefixtotalSize - the total sizepublic Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2023 Seata. All rights reserved.