java.lang.Object | |
↳ | com.facebook.imagepipeline.core.PriorityThreadFactory |
ThreadFactory that applies a priority to the threads it creates.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PriorityThreadFactory(int threadPriority)
Creates a new PriorityThreadFactory with a given priority.
| |||||||||||
PriorityThreadFactory(int threadPriority, String prefix, boolean addThreadNumber) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Thread | newThread(Runnable runnable) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.concurrent.ThreadFactory
|
Creates a new PriorityThreadFactory with a given priority.
This value should be set to a value compatible with setThreadPriority(int)
, not setPriority(int)
.