cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dineshjoshi <...@git.apache.org>
Subject [GitHub] cassandra pull request #244: Refactor and add samplers for CASSANDRA-14436
Date Sat, 04 Aug 2018 02:43:37 GMT
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


Mime
View raw message