You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Steven Nelson (JIRA)" <ji...@apache.org> on 2014/09/13 18:18:34 UTC
[jira] [Updated] (CASSANDRA-6926) StorageService exposes two
different objects for probability tracing
[ https://issues.apache.org/jira/browse/CASSANDRA-6926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Nelson updated CASSANDRA-6926:
-------------------------------------
Attachment: 6926.txt
> StorageService exposes two different objects for probability tracing
> --------------------------------------------------------------------
>
> Key: CASSANDRA-6926
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6926
> Project: Cassandra
> Issue Type: Bug
> Reporter: Nicolas Favre-Felix
> Assignee: Steven Nelson
> Priority: Minor
> Labels: lhf
> Fix For: 3.0
>
> Attachments: 6926.txt
>
>
> StorageServiceMBean exposes the tracing probability using two different methods:
> {code}
> public void setTraceProbability(double probability);
> public double getTracingProbability();
> {code}
> In a JMX explorer like JConsole, two objects are presented: one called TraceProbability and the other called TracingProbability. One is read-only, the other write-only; this is a bit confusing.
> It is possible to have a single object there by having the same suffix for both the getter and setter.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)