Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15597

Correct Visibility and Improve Safety of Methods in LatencyMetrics

    XMLWordPrintableJSON

    Details

      Description

      • 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

        Attachments

          Activity

            People

            • Assignee:
              jefftt Jeff
              Reporter:
              jwest Jordan West
              Authors:
              Jeff
              Reviewers:
              Jordan West
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: