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 19:24:33 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14132845#comment-14132845 ] 

Steven Nelson commented on CASSANDRA-6926:
------------------------------------------

Consistency is good, withdrawing my patch.

> 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, cassandra-2.1-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)