Class FluxSupplier<T>

  • Type Parameters:
    T - output type of target supplier
    All Implemented Interfaces:
    Supplier<reactor.core.publisher.Flux<T>>, FluxWrapper<Supplier<T>>

    @Deprecated
    public class FluxSupplier<T>
    extends Object
    implements Supplier<reactor.core.publisher.Flux<T>>, FluxWrapper<Supplier<T>>
    Deprecated.
    since 3.1 no longer used by the framework
    Supplier implementation that wraps a target Supplier so that the target's simple output type will be wrapped in a Flux instance. If a Duration is provided, the Flux will produce output periodically, invoking the target Supplier's get method at each interval. If no Duration is provided, the target will be invoked only once.
    Author:
    Mark Fisher
    • Constructor Detail

      • FluxSupplier

        public FluxSupplier​(Supplier<T> supplier)
        Deprecated.
      • FluxSupplier

        public FluxSupplier​(Supplier<T> supplier,
                            Duration period)
        Deprecated.
    • Method Detail

      • get

        public reactor.core.publisher.Flux<T> get()
        Deprecated.
        Specified by:
        get in interface Supplier<T>