@Deprecated public class BackgroundProcessor extends java.lang.Object
Constructor and Description |
---|
BackgroundProcessor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
bgRun(java.lang.Runnable runnable)
Deprecated.
Use
ThreadUtil.bgRun(Runnable) instead |
static boolean |
bgRun(java.lang.Runnable runnable,
boolean onEventThread)
Deprecated.
Use
ThreadUtil.bgRun(Runnable, boolean) instead |
static void |
bgRunWait(java.lang.Runnable runnable)
Deprecated.
Use
ThreadUtil.bgRunWait(Runnable) instead |
static int |
getActiveCount()
Deprecated.
Use
ThreadUtil.getActiveBgTaskCount() instead |
static boolean |
hasIdleSlots()
Deprecated.
|
static void |
waitForIdleSlots()
Deprecated.
|
public BackgroundProcessor()
@Deprecated public static boolean bgRun(java.lang.Runnable runnable, boolean onEventThread)
ThreadUtil.bgRun(Runnable, boolean)
instead@Deprecated public static boolean bgRun(java.lang.Runnable runnable)
ThreadUtil.bgRun(Runnable)
instead@Deprecated public static void bgRunWait(java.lang.Runnable runnable)
ThreadUtil.bgRunWait(Runnable)
instead@Deprecated public static int getActiveCount()
ThreadUtil.getActiveBgTaskCount()
instead@Deprecated public static boolean hasIdleSlots()
@Deprecated public static void waitForIdleSlots()