Top Fields Constructors Methods
org.reactfx

public abstract Class SuspenderBase<O, T, S extends Suspendable>

extends ObservableBase<O, T>
implements Suspender<S extends Suspendable>
Class Inheritance
All Implemented Interfaces
org.reactfx.Suspender
Known Direct Subclasses
org.reactfx.SuspenderStreamImpl
Annotations
@Experimental
Imports
org.reactfx.util.Experimental

Field Summary

Modifier and TypeField and Description
private final S

Constructor Summary

AccessConstructor and Description
protected
SuspenderBase(S suspendable)

Method Summary

Modifier and TypeMethod and Description
public final S
protected final void
notifyObserversWhileSuspended(T notification)

Use in subclasses instead of notifyObservers(Object) in order to suspend the associated Suspendable while notifying observers.

Inherited from org.reactfx.ObservableBase:
addObserverenqueueNotificationsequalsforEachObservergetObserverCounthashCodeisObservingInputsnewObservernotifyObserversnotifyObserversobserveobserveInputsremoveObservertoString

Field Detail

suspendableback to summary
private final S suspendable

Constructor Detail

SuspenderBaseback to summary
protected SuspenderBase(S suspendable)

Method Detail

getSuspendableback to summary
public final S getSuspendable()

Implements org.reactfx.Suspender.getSuspendable.

Annotations
@Override
notifyObserversWhileSuspendedback to summary
protected final void notifyObserversWhileSuspended(T notification)

Use in subclasses instead of notifyObservers(Object) in order to suspend the associated Suspendable while notifying observers.