public final class ObserverHelper extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
_suspended |
Modifier | Constructor and Description |
---|---|
private |
ObserverHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNotSuspendedObservationForIndexation()
Is events observation suspended for indexation?
|
static void |
restartObservationForIndexation()
Listen to events again after a call to
suspendObservationForIndexation()
You have to call restartObservationForIndexation() the same number of times you call suspendObservationForIndexation() |
static void |
suspendObservationForIndexation()
All threads will not index anymore after observed events
Call
restartObservationForIndexation() to listen to events again. |
private static int _suspended
private ObserverHelper()
public static void suspendObservationForIndexation()
restartObservationForIndexation()
to listen to events again.
You have to call restartObservationForIndexation()
the same number of times you call suspendObservationForIndexation()
public static boolean isNotSuspendedObservationForIndexation()
public static void restartObservationForIndexation()
suspendObservationForIndexation()
You have to call restartObservationForIndexation()
the same number of times you call suspendObservationForIndexation()