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 frameworkSupplierimplementation that wraps a target Supplier so that the target's simple output type will be wrapped in aFluxinstance. If aDurationis provided, the Flux will produce output periodically, invoking the target Supplier'sgetmethod at each interval. If no Duration is provided, the target will be invoked only once.- Author:
- Mark Fisher
-
-
Constructor Summary
Constructors Constructor Description FluxSupplier(Supplier<T> supplier)Deprecated.FluxSupplier(Supplier<T> supplier, Duration period)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description reactor.core.publisher.Flux<T>get()Deprecated.Supplier<T>getTarget()Deprecated.
-