- Companion:
- class
Value members
Concrete methods
Subject recipe for building behavior subjects.
Subject recipe for building behavior subjects.
- Value parameters:
- initial
the initial element to emit on subscribe, before the first
onNext
happens- strategy
the overflow strategy used for buffering, which specifies what to do in case we're dealing with slow consumers.
Wraps any Subject into a ConcurrentSubject.
Wraps any Subject into a ConcurrentSubject.
- Value parameters:
- overflowStrategy
- the overflow strategy used for buffering, which specifies what to do in case we're dealing with slow consumers.
- producerType
(UNSAFE) is the monix.execution.ChannelType.ProducerSide configuration, can be either multi producer (the safe default) or single producer, which can be configured for optimization purposes.
Subject recipe for building publish subjects.
Subject recipe for building publish subjects.
- Value parameters:
- strategy
- the overflow strategy used for buffering, which specifies what to do in case we're dealing with slow consumers.
Subject recipe for building PublishToOneSubject.
Subject recipe for building PublishToOneSubject.
- Value parameters:
- strategy
- the overflow strategy used for buffering, which specifies what to do in case we're dealing with slow consumers.
Subject recipe for building replay subjects.
Subject recipe for building replay subjects.
- Value parameters:
- strategy
the overflow strategy used for buffering, which specifies what to do in case we're dealing with slow consumers.
Subject recipe for building replay subjects.
Subject recipe for building replay subjects.
- Value parameters:
- initial
is an initial sequence of elements that will be pushed to subscribers before any elements emitted by the source.
- strategy
the overflow strategy used for buffering, which specifies what to do in case we're dealing with slow consumers.
Subject recipe for building replay subjects. This variant creates a size-bounded replay subject.
Subject recipe for building replay subjects. This variant creates a size-bounded replay subject.
In this setting, the replay subject with a maximum capacity for
its internal buffer and discards the oldest item. The capacity
given is a guideline. The underlying implementation may decide
to optimize it (e.g. use the next power of 2 greater or equal to
the given value).
- Value parameters:
- capacity
indicates the minimum capacity of the underlying buffer, with the implementation being free to increase it.
Subject recipe for building replay subjects. This variant creates a size-bounded replay subject.
Subject recipe for building replay subjects. This variant creates a size-bounded replay subject.
In this setting, the replay subject with a maximum capacity for
its internal buffer and discards the oldest item. The capacity
given is a guideline. The underlying implementation may decide
to optimize it (e.g. use the next power of 2 greater or equal to
the given value).
- Value parameters:
- capacity
indicates the minimum capacity of the underlying buffer, with the implementation being free to increase it.
- strategy
the overflow strategy used for buffering, which specifies what to do in case we're dealing with slow consumers.
Subject recipe for building replay subjects. This variant creates a size-bounded replay subject.
Subject recipe for building replay subjects. This variant creates a size-bounded replay subject.
In this setting, the replay subject with a maximum capacity for
its internal buffer and discards the oldest item. The capacity
given is a guideline. The underlying implementation may decide
to optimize it (e.g. use the next power of 2 greater or equal to
the given value).
- Value parameters:
- capacity
indicates the minimum capacity of the underlying buffer, with the implementation being free to increase it.
- initial
is an initial sequence of elements to prepopulate the buffer.
Subject recipe for building replay subjects. This variant creates a size-bounded replay subject.
Subject recipe for building replay subjects. This variant creates a size-bounded replay subject.
In this setting, the replay subject with a maximum capacity for
its internal buffer and discards the oldest item. The capacity
given is a guideline. The underlying implementation may decide
to optimize it (e.g. use the next power of 2 greater or equal to
the given value).
- Value parameters:
- capacity
indicates the minimum capacity of the underlying buffer, with the implementation being free to increase it.
- initial
is an initial sequence of elements to prepopulate the buffer.
- strategy
the overflow strategy used for buffering, which specifies what to do in case we're dealing with slow consumers.
Transforms the source ConcurrentSubject into a org.reactivestreams.Processor
instance as defined by the Reactive Streams
specification.
Transforms the source ConcurrentSubject into a org.reactivestreams.Processor
instance as defined by the Reactive Streams
specification.
- Value parameters:
- bufferSize
a strictly positive number, representing the size of the buffer used and the number of elements requested on each cycle when communicating demand, compliant with the reactive streams specification