cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6926) StorageService exposes two different objects for probability tracing
Date Mon, 25 Aug 2014 14:23:58 GMT

     [ 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)

Mime
View raw message