You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jordan West (Jira)" <ji...@apache.org> on 2020/02/25 01:45:00 UTC
[jira] [Updated] (CASSANDRA-15597) Correct Visibility and Improve
Safety of Methods in LatencyMetrics
[ https://issues.apache.org/jira/browse/CASSANDRA-15597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jordan West updated CASSANDRA-15597:
------------------------------------
Change Category: Code Clarity
Complexity: Low Hanging Fruit
Fix Version/s: 4.0
Status: Open (was: Triage Needed)
> Correct Visibility and Improve Safety of Methods in LatencyMetrics
> ------------------------------------------------------------------
>
> Key: CASSANDRA-15597
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15597
> Project: Cassandra
> Issue Type: Improvement
> Components: Observability/Metrics
> Reporter: Jordan West
> Priority: Normal
> Fix For: 4.0
>
>
> * add/removeChildren does not need to be public (and exposing addChildren is unsafe since no lock is used).
> * casting in the constructor is safer than casting each time in removeChildren
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org