Skip to content

Commit

Permalink
gh-85 Fix type of SolrShardingMetricsContainer#rawData
Browse files Browse the repository at this point in the history
  • Loading branch information
Daan Kerkhofs authored and anghelutar committed May 4, 2021
1 parent 5c66f94 commit f21ce61
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package eu.xenit.alfred.telemetry.binder.solr.sharding;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
Expand All @@ -18,7 +16,7 @@
public class SolrShardingMetricsContainer {

private ShardRegistry shardRegistry;
private Map<Floc, HashMap<Shard, HashSet<ShardState>>> rawData;
private Map<Floc, ? extends Map<Shard, ? extends Set<ShardState>>> rawData;
private long lastRefresh;
private long ttl; // how long before the raw data will be refreshed

Expand Down

0 comments on commit f21ce61

Please sign in to comment.