|
|
|
@ -133,10 +133,10 @@ public class CassandraProperties { |
|
|
|
private boolean ssl = false; |
|
|
|
private boolean ssl = false; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* If JMX reporting should be enabled. Default to false as Cassandra JMX reporting is |
|
|
|
* Whether to enable JMX reporting. Default to false as Cassandra JMX reporting is not |
|
|
|
* not compatible with Dropwizrd Metrics 4. |
|
|
|
* compatible with Dropwizard Metrics. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean jmxReporting = false; |
|
|
|
private boolean jmxEnabled; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Pool configuration. |
|
|
|
* Pool configuration. |
|
|
|
@ -278,12 +278,12 @@ public class CassandraProperties { |
|
|
|
this.ssl = ssl; |
|
|
|
this.ssl = ssl; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public boolean isJmxReporting() { |
|
|
|
public boolean isJmxEnabled() { |
|
|
|
return this.jmxReporting; |
|
|
|
return this.jmxEnabled; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setJmxReporting(boolean jmxReporting) { |
|
|
|
public void setJmxEnabled(boolean jmxEnabled) { |
|
|
|
this.jmxReporting = jmxReporting; |
|
|
|
this.jmxEnabled = jmxEnabled; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getSchemaAction() { |
|
|
|
public String getSchemaAction() { |
|
|
|
|