@Singleton @Requires(beans=InfoEndpoint.class) public class RxInfoAggregator extends java.lang.Object implements InfoAggregator<java.util.Map<java.lang.String,java.lang.Object>>
Default implementation of InfoAggregator
.
Constructor and Description |
---|
RxInfoAggregator() |
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 io.reactivex.Flowable<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 io.reactivex.Flowable<java.util.Map.Entry<java.lang.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