com.datastax.driver.core
Class MetricsOptions

java.lang.Object
  extended by com.datastax.driver.core.MetricsOptions

public class MetricsOptions
extends Object

Metrics options.


Constructor Summary
MetricsOptions()
          Creates a new MetricsOptions object with default values.
MetricsOptions(boolean jmxEnabled)
          Creates a new MetricsOptions object.
 
Method Summary
 boolean isJMXReportingEnabled()
          Returns whether JMX reporting is enabled (the default).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsOptions

public MetricsOptions()
Creates a new MetricsOptions object with default values.


MetricsOptions

public MetricsOptions(boolean jmxEnabled)
Creates a new MetricsOptions object.

Parameters:
jmxEnabled - whether to enable JMX reporting or not.
Method Detail

isJMXReportingEnabled

public boolean isJMXReportingEnabled()
Returns whether JMX reporting is enabled (the default).

Returns:
whether JMX reporting is enabled.


Copyright © 2013. All Rights Reserved.