public class

PriorityThreadFactory

extends Object
implements ThreadFactory
java.lang.Object
   ↳ com.facebook.imagepipeline.core.PriorityThreadFactory

Class Overview

ThreadFactory that applies a priority to the threads it creates.

Summary

Public Constructors
PriorityThreadFactory(int threadPriority)
Creates a new PriorityThreadFactory with a given priority.
Public Methods
Thread newThread(Runnable runnable)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.concurrent.ThreadFactory

Public Constructors

public PriorityThreadFactory (int threadPriority)

Creates a new PriorityThreadFactory with a given priority.

This value should be set to a value compatible with setThreadPriority(int), not setPriority(int).

Public Methods

public Thread newThread (Runnable runnable)