public final class HeavyProcessLatch
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
HeavyProcessLatch.HeavyProcessListener |
Modifier and Type | Field and Description |
---|---|
static HeavyProcessLatch |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
addListener(HeavyProcessLatch.HeavyProcessListener listener,
Disposable parentDisposable) |
void |
executeOutOfHeavyProcess(java.lang.Runnable runnable) |
java.lang.String |
getRunningOperationName() |
boolean |
isRunning() |
AccessToken |
processStarted(java.lang.String operationName) |
public static final HeavyProcessLatch INSTANCE
public AccessToken processStarted(java.lang.String operationName)
public boolean isRunning()
public java.lang.String getRunningOperationName()
public void addListener(HeavyProcessLatch.HeavyProcessListener listener, Disposable parentDisposable)
public void executeOutOfHeavyProcess(java.lang.Runnable runnable)