Background(Disposable)
instead@Deprecated public static final class Invoker.BackgroundThread extends Invoker
Invoker
in a single background thread.
This invoker does not need additional synchronization.Invoker.Background, Invoker.BackgroundThread, Invoker.EDT
Disposable.Parent
Constructor and Description |
---|
BackgroundThread(Disposable parent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Deprecated.
Usually not invoked directly, see class javadoc.
|
boolean |
isValidThread()
Deprecated.
Returns
true if the current thread allows to process a task. |
compute, computeLater, computeLater, forBackgroundPoolWithReadAction, forBackgroundThreadWithoutReadAction, forBackgroundThreadWithReadAction, forEventDispatchThread, getTaskCount, invoke, invokeLater, invokeLater, runOrInvokeLater, toString
public BackgroundThread(Disposable parent)
public void dispose()
Disposable
dispose
in interface Disposable
dispose
in class Invoker
public boolean isValidThread()
Invoker
true
if the current thread allows to process a task.isValidThread
in class Invoker
true
if the current thread is valid, or false
otherwise