public class ThreadPoolDynamicPriorityLayoutHandler extends Object implements LithoHandler
LithoHandler.DefaultLithoHandler| Constructor and Description |
|---|
ThreadPoolDynamicPriorityLayoutHandler(LayoutThreadPoolConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTracing() |
void |
post(Runnable runnable,
String tag) |
void |
postAtFront(Runnable runnable,
String tag) |
void |
remove(Runnable runnable) |
void |
setThreadPriority(int updatePriority)
Changes the priority of any thread in the pool which will execute runnables starting from when
this is called.
|
public ThreadPoolDynamicPriorityLayoutHandler(LayoutThreadPoolConfiguration configuration)
public boolean isTracing()
isTracing in interface LithoHandlerpublic void post(Runnable runnable, String tag)
post in interface LithoHandlerpublic void postAtFront(Runnable runnable, String tag)
postAtFront in interface LithoHandlerpublic void remove(Runnable runnable)
remove in interface LithoHandlerpublic void setThreadPriority(int updatePriority)