public class PrioritySettingThreadFactory extends Object implements ThreadFactory
ThreadFactory
that configures the thread priority.Constructor and Description |
---|
PrioritySettingThreadFactory(ThreadFactory backingThreadFactory,
int newThreadPriority) |
public PrioritySettingThreadFactory(ThreadFactory backingThreadFactory, int newThreadPriority)
public Thread newThread(@Nonnull Runnable r)
newThread
in interface ThreadFactory
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.