@Singleton @Requires(beans=InfoEndpoint.class) public class ReactiveInfoAggregator extends Object implements InfoAggregator<Map<String,Object>>
Default implementation of InfoAggregator
.
Constructor and Description |
---|
ReactiveInfoAggregator() |
Modifier and Type | Method and Description |
---|---|
Publisher<Map<String,Object>> |
aggregate(InfoSource[] sources)
Aggregate an array of
InfoSource and return a publisher. |
protected reactor.core.publisher.Flux<Map.Entry<Integer,PropertySource>> |
aggregateResults(InfoSource[] sources)
|
public Publisher<Map<String,Object>> aggregate(InfoSource[] sources)
InfoAggregator
InfoSource
and return a publisher.protected reactor.core.publisher.Flux<Map.Entry<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