@Singleton @Requires(beans=InfoEndpoint.class) public class ReactiveInfoAggregator extends java.lang.Object implements InfoAggregator<java.util.Map<java.lang.String,java.lang.Object>>
Default implementation of InfoAggregator
.
Constructor and Description |
---|
ReactiveInfoAggregator() |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<java.util.Map<java.lang.String,java.lang.Object>> |
aggregate(InfoSource[] sources)
Aggregate an array of
InfoSource and return a publisher. |
protected reactor.core.publisher.Flux<java.util.Map.Entry<java.lang.Integer,PropertySource>> |
aggregateResults(InfoSource[] sources)
|
public org.reactivestreams.Publisher<java.util.Map<java.lang.String,java.lang.Object>> aggregate(InfoSource[] sources)
InfoAggregator
InfoSource
and return a publisher.aggregate
in interface InfoAggregator<java.util.Map<java.lang.String,java.lang.Object>>
sources
- an array of InfoSourcesPublisher
of T
protected reactor.core.publisher.Flux<java.util.Map.Entry<java.lang.Integer,PropertySource>> aggregateResults(InfoSource[] sources)
sources
- Array of InfoSource
Flux
of Map.Entry
, where the key is an Integer
and value is the
PropertySource
returned by the InfoSource