@Singleton @Requires(beans=InfoEndpoint.class) public class RxInfoAggregator extends Object implements InfoAggregator<Map<String,Object>>
Default implementation of InfoAggregator
.
Constructor and Description |
---|
RxInfoAggregator() |
Modifier and Type | Method and Description |
---|---|
Publisher<Map<String,Object>> |
aggregate(InfoSource[] sources)
Aggregate an array of
InfoSource and return a publisher. |
protected io.reactivex.Flowable<Map.Entry<Integer,PropertySource>> |
aggregateResults(InfoSource[] sources)
|
public Publisher<Map<String,Object>> aggregate(InfoSource[] sources)
InfoAggregator
InfoSource
and return a publisher.protected io.reactivex.Flowable<Map.Entry<Integer,PropertySource>> aggregateResults(InfoSource[] sources)
sources
- Array of InfoSource
Flowable
of Map.Entry
, where the key is an Integer
and value is the
PropertySource
returned by the InfoSource