Class BaseFlux<T>

    • Constructor Detail

      • BaseFlux

        public BaseFlux()
        Constructor.
    • Method Detail

      • getOverflowStrategy

        protected reactor.core.publisher.FluxSink.OverflowStrategy getOverflowStrategy()
        Set the default overflow strategy - override to change it.
        Returns:
        overflow strategy
      • getNewValues

        protected abstract Set<T> getNewValues()
        Implements this method to return all the new values. Those values will be send to the strategy.
        Returns:
        list of new values
      • emitValue

        protected void emitValue​(T newValue)
        Emit a new value.
        Parameters:
        newValue - new value
      • update

        public final void update()
        This method is called when values must be updated (usually called by the Scheduler).
      • getFlux

        public final reactor.core.publisher.Flux<T> getFlux()
        Getter flux.
        Returns:
        flux