You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/08/25 16:23:58 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 ]
Jonathan Ellis updated CASSANDRA-6926:
--------------------------------------
Fix Version/s: 3.0
> 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: Joshua McKenzie
> Priority: Minor
> Labels: lhf
> Fix For: 3.0
>
>
> 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.2#6252)