Package io.github.resilience4j.core
Class NamingThreadFactory
java.lang.Object
io.github.resilience4j.core.NamingThreadFactory
- All Implemented Interfaces:
ThreadFactory
Creates threads using "$name-%d" pattern for naming. Is based on
Executors.defaultThreadFactory()-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ThreadGroupprivate final Stringprivate final AtomicInteger -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
group
-
threadNumber
-
prefix
-
-
Constructor Details
-
NamingThreadFactory
-
-
Method Details
-
getThreadGroup
-
newThread
- Specified by:
newThreadin interfaceThreadFactory
-
createName
-