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 LithoHandler
public void post(Runnable runnable, String tag)
post
in interface LithoHandler
public void postAtFront(Runnable runnable, String tag)
postAtFront
in interface LithoHandler
public void remove(Runnable runnable)
remove
in interface LithoHandler
public void setThreadPriority(int updatePriority)