Class PrioritySettingThreadFactory
- java.lang.Object
-
- org.apache.flink.runtime.rpc.pekko.PrioritySettingThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class PrioritySettingThreadFactory extends Object implements ThreadFactory
Wrapper around aThreadFactorythat configures the thread priority.
-
-
Constructor Summary
Constructors Constructor Description PrioritySettingThreadFactory(ThreadFactory backingThreadFactory, int newThreadPriority)
-
-
-
Constructor Detail
-
PrioritySettingThreadFactory
public PrioritySettingThreadFactory(ThreadFactory backingThreadFactory, int newThreadPriority)
-
-
Method Detail
-
newThread
public Thread newThread(@Nonnull Runnable r)
- Specified by:
newThreadin interfaceThreadFactory
-
-