| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class | FlowableReplay.BoundedReplayBuffer<
the value type T>Base class for bounded buffering with options to specify an enter and leave transforms and custom truncation behavior. |
| pack-priv static class | |
| pack-priv static class | FlowableReplay.InnerSubscription<
the value type T>A Subscription that manages the request and cancellation state of a child subscriber in thread-safe manner. |
| pack-priv static class | |
| pack-priv static class | FlowableReplay.Node
Represents a node in a bounded replay buffer's linked list. |
| pack-priv static interface | FlowableReplay.ReplayBuffer<
the value type T>The interface for interacting with various buffering logic. |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | FlowableReplay.SizeAndTimeBoundReplayBuffer<
the buffered value type T>Size and time bound replay buffer. |
| pack-priv static class | FlowableReplay.SizeBoundReplayBuffer<
the value type T>A bounded replay buffer implementation with size limit only. |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Supplier | bufferFactory
A factory that creates the appropriate buffer for the ReplaySubscriber. |
| pack-priv final AtomicReference | current
Holds the current subscriber that is, will be or just was subscribed to the source observable. |
| pack-priv static final Supplier | |
| pack-priv final Publisher | |
| pack-priv final Flowable | source
The source observable. |
| Access | Constructor and Description |
|---|---|
| private | FlowableReplay(Publisher<T> onSubscribe, Flowable<T> source, final AtomicReference<FlowableReplay.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static < the value type T> ConnectableFlowable | Returns: the new ConnectableObservable instancethe source Flowable to use source, final int the maximum number of elements to hold bufferSize, boolean if true, the head reference is refreshed to avoid unwanted item retention eagerTruncate)Creates a replaying ConnectableObservable with a size bound buffer. |
| public static < the value type T> ConnectableFlowable | Returns: the new ConnectableObservable instancethe source Flowable to use source, long the maximum age of entries maxAge, TimeUnit the unit of measure of the age amount unit, Scheduler the target scheduler providing the current time scheduler, boolean if true, the head reference is refreshed to avoid unwanted item retention eagerTruncate)Creates a replaying ConnectableObservable with a time bound buffer. |
| public static < the value type T> ConnectableFlowable | Returns: the new ConnectableFlowable instancethe source Flowable to use source, final long the maximum age of entries maxAge, final TimeUnit the unit of measure of the age amount unit, final Scheduler the target scheduler providing the current time scheduler, final int the maximum number of elements to hold bufferSize, boolean if true, the head reference is refreshed to avoid unwanted item retention eagerTruncate)Creates a replaying ConnectableObservable with a size and time bound buffer. |
| pack-priv static < the value type T> ConnectableFlowable | Returns: theConnectableFlowable instancethe source source, final Supplier<? extends FlowableReplay.Flowable to usethe factory to instantiate the appropriate buffer when the bufferFactory)Flowable becomes activeCreates a OperatorReplay instance to replay values of the given source |
| public static < the value type T> ConnectableFlowable | Returns: the new ConnectableObservable instancethe source Publisher to use source)Creates a replaying ConnectableObservable with an unbounded buffer. |
| public static < the connectable observable type U, the result type R> Flowable | Returns: the new Observable instancethe factory that returns a ConnectableFlowable for each individual subscriber connectableFactory, final Function<? super Flowable<U>, ? extends Publisher<R>> the function that receives a Flowable and should return another Flowable that will be subscribed to selector)Given a connectable observable factory, it multicasts over the generated ConnectableObservable via a selector function. |
| public void | reset()
Implements abstract io. ConnectableFlowable into its fresh state if it has terminated.
|
| public Publisher | source()
Implements io. |
| protected void |