public Collection<AggregatorWithName<?>> getAllRegisteredAggregators() { ArrayList<AggregatorWithName<?>> list = new ArrayList<AggregatorWithName<?>>(this.registry.size()); for (Map.Entry<String, Aggregator<?>> entry : this.registry.entrySet()) { @SuppressWarnings("unchecked") Aggregator<Value> valAgg = (Aggregator<Value>) entry.getValue(); list.add(new AggregatorWithName<>(entry.getKey(), valAgg)); } return list; }
public Collection<AggregatorWithName<?>> getAllRegisteredAggregators() { ArrayList<AggregatorWithName<?>> list = new ArrayList<AggregatorWithName<?>>(this.registry.size()); for (Map.Entry<String, Aggregator<?>> entry : this.registry.entrySet()) { @SuppressWarnings("unchecked") Aggregator<Value> valAgg = (Aggregator<Value>) entry.getValue(); list.add(new AggregatorWithName<>(entry.getKey(), valAgg)); } return list; }
public Collection<AggregatorWithName<?>> getAllRegisteredAggregators() { ArrayList<AggregatorWithName<?>> list = new ArrayList<AggregatorWithName<?>>(this.registry.size()); for (Map.Entry<String, Aggregator<?>> entry : this.registry.entrySet()) { @SuppressWarnings("unchecked") Aggregator<Value> valAgg = (Aggregator<Value>) entry.getValue(); list.add(new AggregatorWithName<>(entry.getKey(), valAgg)); } return list; }
throw new RuntimeException("Missing config entry for aggregator."); list.add(new AggregatorWithName<Value>(name, aggObj));
throw new RuntimeException("Missing config entry for aggregator."); list.add(new AggregatorWithName<Value>(name, aggObj));
throw new RuntimeException("Missing config entry for aggregator."); list.add(new AggregatorWithName<Value>(name, aggObj));
throw new RuntimeException("Missing config entry for aggregator."); list.add(new AggregatorWithName<Value>(name, aggObj));