@Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Bean @Documented public @interface PollableSupplier
Supplier
method that regardless of its type signature
(reactive or imperative), such supplier needs to be polled
periodically. This has special significance to the reactive suppliers (e.g., Supplier<Flux<?>
),
since in most cases they are treated as producers of an infinite stream
that is managed independently once produced. However if such suppliers produce a stream hat is finite
they may need to be called again.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
splittable
Signals to the post processors of this annotation that the result produced by the
annotated
Supplier has to be split. |
public abstract boolean splittable
Supplier
has to be split. Specifics on how to split and what
to split are left to the underlying framework.Supplier
has to be split.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.