@Experimental public abstract class SuspenderBase<O,T,S extends Suspendable> extends ObservableBase<O,T> implements Suspender<S>
| Modifier | Constructor and Description |
|---|---|
protected |
SuspenderBase(S suspendable) |
| Modifier and Type | Method and Description |
|---|---|
S |
getSuspendable() |
protected void |
notifyObserversWhileSuspended(T notification)
Use in subclasses instead of
ObservableBase.notifyObservers(Object) in order
to suspend the associated Suspendable while notifying
observers. |
addObserver, enqueueNotifications, equals, forEachObserver, getObserverCount, hashCode, isObservingInputs, newObserver, notifyObservers, notifyObservers, observe, observeInputs, removeObserver, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitdefaultEquals, defaultHashCode, defaultNotificationAccumulator, defaultToStringprotected SuspenderBase(S suspendable)
protected final void notifyObserversWhileSuspended(T notification)
ObservableBase.notifyObservers(Object) in order
to suspend the associated Suspendable while notifying
observers.public final S getSuspendable()
getSuspendable in interface Suspender<S extends Suspendable>