Github user dineshjoshi commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/244#discussion_r207697017
--- Diff: src/java/org/apache/cassandra/metrics/TableMetrics.java ---
@@ -281,7 +301,7 @@ public Long getValue()
public final Meter readRepairRequests;
public final Meter shortReadProtectionRequests;
- public final Map<Sampler, TopKSampler<ByteBuffer>> samplers;
+ public final Map<SamplerType, Sampler<?>> samplers;
--- End diff --
This can be replaced with an `EnumMap`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org
|