List of usage examples for org.apache.cassandra.service StorageServiceMBean getClusterName
public String getClusterName();
From source file:com.spotify.reaper.cassandra.JmxProxy.java
License:Apache License
private JmxProxy(Optional<RepairStatusHandler> handler, String host, JMXServiceURL jmxUrl, JMXConnector jmxConnector, StorageServiceMBean ssProxy, ObjectName ssMbeanName, MBeanServerConnection mbeanServer, CompactionManagerMBean cmProxy) { this.host = host; this.jmxUrl = jmxUrl; this.jmxConnector = jmxConnector; this.ssMbeanName = ssMbeanName; this.mbeanServer = mbeanServer; this.ssProxy = ssProxy; this.repairStatusHandler = handler; this.cmProxy = cmProxy; this.clusterName = Cluster.toSymbolicName(ssProxy.getClusterName()); }