Class FluxSupplier<T>
java.lang.Object
org.springframework.cloud.function.core.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 Summary
ConstructorsConstructorDescriptionFluxSupplier(Supplier<T> supplier) Deprecated.FluxSupplier(Supplier<T> supplier, Duration period) Deprecated. -
Method Summary