test_class.file: src/server/src/test/java/io/cassandrareaper/jmx/ClusterFacadeTest.java
test_class.identifier: ClusterFacadeTest
test_case.body: @Test
    public void parseCompactionStatsTest() throws IOException {
      final ObjectMapper objectMapper = new ObjectMapper();
      Compaction compaction = Compaction.builder()
          .withId("foo")
          .withKeyspace("ks")
          .withTable("t")
          .withProgress(64L)
          .withTotal(128L)
          .withType("Validation")
          .withUnit("unit")
          .build();
      CompactionStats originalCompactionStats = CompactionStats.builder()
          .withActiveCompactions(ImmutableList.of(compaction))
          .withPendingCompactions(42)
          .build();
      String compactionJson = objectMapper.writeValueAsString(originalCompactionStats);
      CompactionStats compactionStats = ClusterFacade.parseCompactionStats(compactionJson);
      assertEquals(42L, compactionStats.getPendingCompactions().longValue());
    }
test_case.class_method_signature: ClusterFacadeTest.parseCompactionStatsTest()
test_case.full_signature: @Test public void parseCompactionStatsTest()
test_case.identifier: parseCompactionStatsTest
test_case.invocations: build withUnit withType withTotal withProgress withTable withKeyspace withId builder build withPendingCompactions withActiveCompactions builder of writeValueAsString parseCompactionStats assertEquals longValue getPendingCompactions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void parseCompactionStatsTest()
focal_class.declarator: METRICS_PARTITIONING_TIME_MINS = 10
focal_class.modifier: private static final
focal_class.original_string: private static final int METRICS_PARTITIONING_TIME_MINS = 10;
focal_class.type: int
focal_class.var_name: METRICS_PARTITIONING_TIME_MINS
focal_class.declarator: LOG = LoggerFactory.getLogger(ClusterFacade.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(ClusterFacade.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: CLUSTER_VERSIONS_TTL_SECONDS
        = Long.getLong(ClusterFacade.class.getPackage().getName() + ".cluster_versions_ttl_seconds", 60)
focal_class.modifier: private static final
focal_class.original_string: private static final long CLUSTER_VERSIONS_TTL_SECONDS
        = Long.getLong(ClusterFacade.class.getPackage().getName() + ".cluster_versions_ttl_seconds", 60);
focal_class.type: long
focal_class.var_name: CLUSTER_VERSIONS_TTL_SECONDS
focal_class.declarator: TABLES_IN_KEYSPACE_TTL_SECONDS
        = Long.getLong(ClusterFacade.class.getPackage().getName() + ".tables_in_keyspace_ttl_seconds", 60)
focal_class.modifier: private static final
focal_class.original_string: private static final long TABLES_IN_KEYSPACE_TTL_SECONDS
        = Long.getLong(ClusterFacade.class.getPackage().getName() + ".tables_in_keyspace_ttl_seconds", 60);
focal_class.type: long
focal_class.var_name: TABLES_IN_KEYSPACE_TTL_SECONDS
focal_class.declarator: TOKEN_RANGES_IN_KEYSPACE_TTL_SECONDS
        = Long.getLong(ClusterFacade.class.getPackage().getName() + ".token_ranges_in_keyspace_ttl_seconds", 60)
focal_class.modifier: private static final
focal_class.original_string: private static final long TOKEN_RANGES_IN_KEYSPACE_TTL_SECONDS
        = Long.getLong(ClusterFacade.class.getPackage().getName() + ".token_ranges_in_keyspace_ttl_seconds", 60);
focal_class.type: long
focal_class.var_name: TOKEN_RANGES_IN_KEYSPACE_TTL_SECONDS
focal_class.declarator: CLUSTER_VERSIONS
        = CacheBuilder.newBuilder().expireAfterWrite(CLUSTER_VERSIONS_TTL_SECONDS, TimeUnit.SECONDS).build()
focal_class.modifier: private static final
focal_class.original_string: private static final Cache<Pair<Cluster,String>,String> CLUSTER_VERSIONS
        = CacheBuilder.newBuilder().expireAfterWrite(CLUSTER_VERSIONS_TTL_SECONDS, TimeUnit.SECONDS).build();
focal_class.type: Cache<Pair<Cluster,String>,String>
focal_class.var_name: CLUSTER_VERSIONS
focal_class.declarator: TABLES_IN_KEYSPACE
        = CacheBuilder.newBuilder().expireAfterWrite(TABLES_IN_KEYSPACE_TTL_SECONDS, TimeUnit.SECONDS).build()
focal_class.modifier: private static final
focal_class.original_string: private static final Cache<Pair<Cluster,String>,Set<Table>> TABLES_IN_KEYSPACE
        = CacheBuilder.newBuilder().expireAfterWrite(TABLES_IN_KEYSPACE_TTL_SECONDS, TimeUnit.SECONDS).build();
focal_class.type: Cache<Pair<Cluster,String>,Set<Table>>
focal_class.var_name: TABLES_IN_KEYSPACE
focal_class.declarator: TOKEN_RANGES_IN_KEYSPACE
        = CacheBuilder.newBuilder().expireAfterWrite(TOKEN_RANGES_IN_KEYSPACE_TTL_SECONDS, TimeUnit.SECONDS).build()
focal_class.modifier: private static final
focal_class.original_string: private static final Cache<Pair<Cluster,String>,Map<List<String>, List<String>>> TOKEN_RANGES_IN_KEYSPACE
        = CacheBuilder.newBuilder().expireAfterWrite(TOKEN_RANGES_IN_KEYSPACE_TTL_SECONDS, TimeUnit.SECONDS).build();
focal_class.type: Cache<Pair<Cluster,String>,Map<List<String>, List<String>>>
focal_class.var_name: TOKEN_RANGES_IN_KEYSPACE
focal_class.declarator: LOCALHOST = "127.0.0.1"
focal_class.modifier: private static final
focal_class.original_string: private static final String LOCALHOST = "127.0.0.1";
focal_class.type: String
focal_class.var_name: LOCALHOST
focal_class.declarator: context
focal_class.modifier: private final
focal_class.original_string: private final AppContext context;
focal_class.type: AppContext
focal_class.var_name: context
focal_class.file: src/server/src/main/java/io/cassandrareaper/jmx/ClusterFacade.java
focal_class.identifier: ClusterFacade
focal_class.class_method_signature: ClusterFacade.ClusterFacade(AppContext context)
focal_class.full_signature: private  ClusterFacade(AppContext context)
focal_class.identifier: ClusterFacade
focal_class.modifiers: private
focal_class.parameters: (AppContext context)
focal_class.signature:  ClusterFacade(AppContext context)
focal_class.class_method_signature: ClusterFacade.create(AppContext context)
focal_class.full_signature: public static ClusterFacade create(AppContext context)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (AppContext context)
focal_class.return: ClusterFacade
focal_class.signature: ClusterFacade create(AppContext context)
focal_class.class_method_signature: ClusterFacade.preHeatJmxConnections(Cluster cluster, Collection<String> endpoints)
focal_class.full_signature: public JmxProxy preHeatJmxConnections(Cluster cluster, Collection<String> endpoints)
focal_class.identifier: preHeatJmxConnections
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, Collection<String> endpoints)
focal_class.return: JmxProxy
focal_class.signature: JmxProxy preHeatJmxConnections(Cluster cluster, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.getClusterName(Cluster cluster, Collection<String> endpoints)
focal_class.full_signature: public String getClusterName(Cluster cluster, Collection<String> endpoints)
focal_class.identifier: getClusterName
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, Collection<String> endpoints)
focal_class.return: String
focal_class.signature: String getClusterName(Cluster cluster, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.getClusterName(Node node)
focal_class.full_signature: public String getClusterName(Node node)
focal_class.identifier: getClusterName
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: String
focal_class.signature: String getClusterName(Node node)
focal_class.class_method_signature: ClusterFacade.getPartitioner(Cluster cluster, Collection<String> endpoints)
focal_class.full_signature: public String getPartitioner(Cluster cluster, Collection<String> endpoints)
focal_class.identifier: getPartitioner
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, Collection<String> endpoints)
focal_class.return: String
focal_class.signature: String getPartitioner(Cluster cluster, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.getLiveNodes(Cluster cluster)
focal_class.full_signature: public List<String> getLiveNodes(Cluster cluster)
focal_class.identifier: getLiveNodes
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster)
focal_class.return: List<String>
focal_class.signature: List<String> getLiveNodes(Cluster cluster)
focal_class.class_method_signature: ClusterFacade.getLiveNodes(Cluster cluster, Collection<String> endpoints)
focal_class.full_signature: public List<String> getLiveNodes(Cluster cluster, Collection<String> endpoints)
focal_class.identifier: getLiveNodes
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, Collection<String> endpoints)
focal_class.return: List<String>
focal_class.signature: List<String> getLiveNodes(Cluster cluster, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.getNodesStatus(Cluster cluster, Collection<String> endpoints)
focal_class.full_signature: public NodesStatus getNodesStatus(Cluster cluster, Collection<String> endpoints)
focal_class.identifier: getNodesStatus
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, Collection<String> endpoints)
focal_class.return: NodesStatus
focal_class.signature: NodesStatus getNodesStatus(Cluster cluster, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.getCassandraVersion(Cluster cluster)
focal_class.full_signature: public String getCassandraVersion(Cluster cluster)
focal_class.identifier: getCassandraVersion
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster)
focal_class.return: String
focal_class.signature: String getCassandraVersion(Cluster cluster)
focal_class.class_method_signature: ClusterFacade.getCassandraVersion(Cluster cluster, Collection<String> endpoints)
focal_class.full_signature: public String getCassandraVersion(Cluster cluster, Collection<String> endpoints)
focal_class.identifier: getCassandraVersion
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, Collection<String> endpoints)
focal_class.return: String
focal_class.signature: String getCassandraVersion(Cluster cluster, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.getTokens(Cluster cluster)
focal_class.full_signature: public List<BigInteger> getTokens(Cluster cluster)
focal_class.identifier: getTokens
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster)
focal_class.return: List<BigInteger>
focal_class.signature: List<BigInteger> getTokens(Cluster cluster)
focal_class.class_method_signature: ClusterFacade.getRangeToEndpointMap(
        Cluster cluster,
        String keyspace)
focal_class.full_signature: public Map<List<String>, List<String>> getRangeToEndpointMap(
        Cluster cluster,
        String keyspace)
focal_class.identifier: getRangeToEndpointMap
focal_class.modifiers: public
focal_class.parameters: (
        Cluster cluster,
        String keyspace)
focal_class.return: Map<List<String>, List<String>>
focal_class.signature: Map<List<String>, List<String>> getRangeToEndpointMap(
        Cluster cluster,
        String keyspace)
focal_class.class_method_signature: ClusterFacade.getTablesForKeyspace(Cluster cluster, String keyspaceName)
focal_class.full_signature: public Set<Table> getTablesForKeyspace(Cluster cluster, String keyspaceName)
focal_class.identifier: getTablesForKeyspace
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, String keyspaceName)
focal_class.return: Set<Table>
focal_class.signature: Set<Table> getTablesForKeyspace(Cluster cluster, String keyspaceName)
focal_class.class_method_signature: ClusterFacade.listTablesByKeyspace(Cluster cluster)
focal_class.full_signature: public Map<String, List<String>> listTablesByKeyspace(Cluster cluster)
focal_class.identifier: listTablesByKeyspace
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster)
focal_class.return: Map<String, List<String>>
focal_class.signature: Map<String, List<String>> listTablesByKeyspace(Cluster cluster)
focal_class.class_method_signature: ClusterFacade.getKeyspaces(Cluster cluster)
focal_class.full_signature: public List<String> getKeyspaces(Cluster cluster)
focal_class.identifier: getKeyspaces
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster)
focal_class.return: List<String>
focal_class.signature: List<String> getKeyspaces(Cluster cluster)
focal_class.class_method_signature: ClusterFacade.getEndpointToHostId(Cluster cluster)
focal_class.full_signature: public Map<String, String> getEndpointToHostId(Cluster cluster)
focal_class.identifier: getEndpointToHostId
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getEndpointToHostId(Cluster cluster)
focal_class.class_method_signature: ClusterFacade.tokenRangeToEndpoint(Cluster cluster, String keyspace, Segment segment)
focal_class.full_signature: public List<String> tokenRangeToEndpoint(Cluster cluster, String keyspace, Segment segment)
focal_class.identifier: tokenRangeToEndpoint
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, String keyspace, Segment segment)
focal_class.return: List<String>
focal_class.signature: List<String> tokenRangeToEndpoint(Cluster cluster, String keyspace, Segment segment)
focal_class.class_method_signature: ClusterFacade.getRangesForLocalEndpoint(Cluster cluster, String keyspace)
focal_class.full_signature: public List<RingRange> getRangesForLocalEndpoint(Cluster cluster, String keyspace)
focal_class.identifier: getRangesForLocalEndpoint
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, String keyspace)
focal_class.return: List<RingRange>
focal_class.signature: List<RingRange> getRangesForLocalEndpoint(Cluster cluster, String keyspace)
focal_class.class_method_signature: ClusterFacade.getDatacenter(Cluster cluster, String endpoint)
focal_class.full_signature: public String getDatacenter(Cluster cluster, String endpoint)
focal_class.identifier: getDatacenter
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, String endpoint)
focal_class.return: String
focal_class.signature: String getDatacenter(Cluster cluster, String endpoint)
focal_class.class_method_signature: ClusterFacade.getDatacenter(Node node)
focal_class.full_signature: public String getDatacenter(Node node)
focal_class.identifier: getDatacenter
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: String
focal_class.signature: String getDatacenter(Node node)
focal_class.class_method_signature: ClusterFacade.getLocalEndpoint(Node node)
focal_class.full_signature: public String getLocalEndpoint(Node node)
focal_class.identifier: getLocalEndpoint
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: String
focal_class.signature: String getLocalEndpoint(Node node)
focal_class.class_method_signature: ClusterFacade.getTokensByNode(Cluster cluster)
focal_class.full_signature: public Map<String, List<String>> getTokensByNode(Cluster cluster)
focal_class.identifier: getTokensByNode
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster)
focal_class.return: Map<String, List<String>>
focal_class.signature: Map<String, List<String>> getTokensByNode(Cluster cluster)
focal_class.class_method_signature: ClusterFacade.listActiveCompactions(Node node)
focal_class.full_signature: public CompactionStats listActiveCompactions(Node node)
focal_class.identifier: listActiveCompactions
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: CompactionStats
focal_class.signature: CompactionStats listActiveCompactions(Node node)
focal_class.class_method_signature: ClusterFacade.listCompactionStatsDirect(Node node)
focal_class.full_signature: public CompactionStats listCompactionStatsDirect(Node node)
focal_class.identifier: listCompactionStatsDirect
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: CompactionStats
focal_class.signature: CompactionStats listCompactionStatsDirect(Node node)
focal_class.class_method_signature: ClusterFacade.nodeIsAccessibleThroughJmx(String nodeDc, String node)
focal_class.full_signature: public boolean nodeIsAccessibleThroughJmx(String nodeDc, String node)
focal_class.identifier: nodeIsAccessibleThroughJmx
focal_class.modifiers: public
focal_class.parameters: (String nodeDc, String node)
focal_class.return: boolean
focal_class.signature: boolean nodeIsAccessibleThroughJmx(String nodeDc, String node)
focal_class.class_method_signature: ClusterFacade.collectMetrics(Node node, String[] collectedMetrics)
focal_class.full_signature: public Map<String, List<JmxStat>> collectMetrics(Node node, String[] collectedMetrics)
focal_class.identifier: collectMetrics
focal_class.modifiers: public
focal_class.parameters: (Node node, String[] collectedMetrics)
focal_class.return: Map<String, List<JmxStat>>
focal_class.signature: Map<String, List<JmxStat>> collectMetrics(Node node, String[] collectedMetrics)
focal_class.class_method_signature: ClusterFacade.getClientRequestLatencies(Node node)
focal_class.full_signature: public List<MetricsHistogram> getClientRequestLatencies(Node node)
focal_class.identifier: getClientRequestLatencies
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: List<MetricsHistogram>
focal_class.signature: List<MetricsHistogram> getClientRequestLatencies(Node node)
focal_class.class_method_signature: ClusterFacade.getDroppedMessages(Node node)
focal_class.full_signature: public List<DroppedMessages> getDroppedMessages(Node node)
focal_class.identifier: getDroppedMessages
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: List<DroppedMessages>
focal_class.signature: List<DroppedMessages> getDroppedMessages(Node node)
focal_class.class_method_signature: ClusterFacade.convertToDroppedMessages(List<GenericMetric> metrics)
focal_class.full_signature: @VisibleForTesting public List<DroppedMessages> convertToDroppedMessages(List<GenericMetric> metrics)
focal_class.identifier: convertToDroppedMessages
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (List<GenericMetric> metrics)
focal_class.return: List<DroppedMessages>
focal_class.signature: List<DroppedMessages> convertToDroppedMessages(List<GenericMetric> metrics)
focal_class.class_method_signature: ClusterFacade.getTpStats(Node node)
focal_class.full_signature: public List<ThreadPoolStat> getTpStats(Node node)
focal_class.identifier: getTpStats
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: List<ThreadPoolStat>
focal_class.signature: List<ThreadPoolStat> getTpStats(Node node)
focal_class.class_method_signature: ClusterFacade.convertToThreadPoolStats(List<GenericMetric> metrics)
focal_class.full_signature: @VisibleForTesting public List<ThreadPoolStat> convertToThreadPoolStats(List<GenericMetric> metrics)
focal_class.identifier: convertToThreadPoolStats
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (List<GenericMetric> metrics)
focal_class.return: List<ThreadPoolStat>
focal_class.signature: List<ThreadPoolStat> convertToThreadPoolStats(List<GenericMetric> metrics)
focal_class.class_method_signature: ClusterFacade.convertToMetricsHistogram(List<GenericMetric> metrics)
focal_class.full_signature: @VisibleForTesting public List<MetricsHistogram> convertToMetricsHistogram(List<GenericMetric> metrics)
focal_class.identifier: convertToMetricsHistogram
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (List<GenericMetric> metrics)
focal_class.return: List<MetricsHistogram>
focal_class.signature: List<MetricsHistogram> convertToMetricsHistogram(List<GenericMetric> metrics)
focal_class.class_method_signature: ClusterFacade.takeSnapshot(String snapshotName, Node host, String... keyspaces)
focal_class.full_signature: public Pair<Node, String> takeSnapshot(String snapshotName, Node host, String... keyspaces)
focal_class.identifier: takeSnapshot
focal_class.modifiers: public
focal_class.parameters: (String snapshotName, Node host, String... keyspaces)
focal_class.return: Pair<Node, String>
focal_class.signature: Pair<Node, String> takeSnapshot(String snapshotName, Node host, String... keyspaces)
focal_class.class_method_signature: ClusterFacade.listSnapshots(Node host)
focal_class.full_signature: public List<Snapshot> listSnapshots(Node host)
focal_class.identifier: listSnapshots
focal_class.modifiers: public
focal_class.parameters: (Node host)
focal_class.return: List<Snapshot>
focal_class.signature: List<Snapshot> listSnapshots(Node host)
focal_class.class_method_signature: ClusterFacade.clearSnapshot(String snapshotName, Node host)
focal_class.full_signature: public void clearSnapshot(String snapshotName, Node host)
focal_class.identifier: clearSnapshot
focal_class.modifiers: public
focal_class.parameters: (String snapshotName, Node host)
focal_class.return: void
focal_class.signature: void clearSnapshot(String snapshotName, Node host)
focal_class.class_method_signature: ClusterFacade.listActiveStreams(Node node)
focal_class.full_signature: public List<StreamSession> listActiveStreams(Node node)
focal_class.identifier: listActiveStreams
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: List<StreamSession>
focal_class.signature: List<StreamSession> listActiveStreams(Node node)
focal_class.class_method_signature: ClusterFacade.listStreamsDirect(Node node)
focal_class.full_signature: public List<StreamSession> listStreamsDirect(Node node)
focal_class.identifier: listStreamsDirect
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: List<StreamSession>
focal_class.signature: List<StreamSession> listStreamsDirect(Node node)
focal_class.class_method_signature: ClusterFacade.getTablesForKeyspaceImpl(Cluster cluster, String keyspaceName)
focal_class.full_signature: private Set<Table> getTablesForKeyspaceImpl(Cluster cluster, String keyspaceName)
focal_class.identifier: getTablesForKeyspaceImpl
focal_class.modifiers: private
focal_class.parameters: (Cluster cluster, String keyspaceName)
focal_class.return: Set<Table>
focal_class.signature: Set<Table> getTablesForKeyspaceImpl(Cluster cluster, String keyspaceName)
focal_class.class_method_signature: ClusterFacade.getRangeToEndpointMapImpl(
        Cluster cluster,
        String keyspace)
focal_class.full_signature: private Map<List<String>, List<String>> getRangeToEndpointMapImpl(
        Cluster cluster,
        String keyspace)
focal_class.identifier: getRangeToEndpointMapImpl
focal_class.modifiers: private
focal_class.parameters: (
        Cluster cluster,
        String keyspace)
focal_class.return: Map<List<String>, List<String>>
focal_class.signature: Map<List<String>, List<String>> getRangeToEndpointMapImpl(
        Cluster cluster,
        String keyspace)
focal_class.class_method_signature: ClusterFacade.parseStreamSessionJson(String json)
focal_class.full_signature: public static List<StreamSession> parseStreamSessionJson(String json)
focal_class.identifier: parseStreamSessionJson
focal_class.modifiers: public static
focal_class.parameters: (String json)
focal_class.return: List<StreamSession>
focal_class.signature: List<StreamSession> parseStreamSessionJson(String json)
focal_class.class_method_signature: ClusterFacade.parseCompactionStats(String json)
focal_class.full_signature: public static CompactionStats parseCompactionStats(String json)
focal_class.identifier: parseCompactionStats
focal_class.modifiers: public static
focal_class.parameters: (String json)
focal_class.return: CompactionStats
focal_class.signature: CompactionStats parseCompactionStats(String json)
focal_class.class_method_signature: ClusterFacade.parseJson(String json, TypeReference<T> ref)
focal_class.full_signature: private static T parseJson(String json, TypeReference<T> ref)
focal_class.identifier: parseJson
focal_class.modifiers: private static
focal_class.parameters: (String json, TypeReference<T> ref)
focal_class.return: T
focal_class.signature: T parseJson(String json, TypeReference<T> ref)
focal_class.class_method_signature: ClusterFacade.connect(Cluster cluster)
focal_class.full_signature: public JmxProxy connect(Cluster cluster)
focal_class.identifier: connect
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster)
focal_class.return: JmxProxy
focal_class.signature: JmxProxy connect(Cluster cluster)
focal_class.class_method_signature: ClusterFacade.connect(Cluster cluster, Collection<String> endpoints)
focal_class.full_signature: public JmxProxy connect(Cluster cluster, Collection<String> endpoints)
focal_class.identifier: connect
focal_class.modifiers: public
focal_class.parameters: (Cluster cluster, Collection<String> endpoints)
focal_class.return: JmxProxy
focal_class.signature: JmxProxy connect(Cluster cluster, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.connect(Node node)
focal_class.full_signature: public JmxProxy connect(Node node)
focal_class.identifier: connect
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: JmxProxy
focal_class.signature: JmxProxy connect(Node node)
focal_class.class_method_signature: ClusterFacade.connect(Node node, Collection<String> endpoints)
focal_class.full_signature: public JmxProxy connect(Node node, Collection<String> endpoints)
focal_class.identifier: connect
focal_class.modifiers: public
focal_class.parameters: (Node node, Collection<String> endpoints)
focal_class.return: JmxProxy
focal_class.signature: JmxProxy connect(Node node, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.connectImpl(Cluster cluster, Collection<String> endpoints)
focal_class.full_signature: private JmxProxy connectImpl(Cluster cluster, Collection<String> endpoints)
focal_class.identifier: connectImpl
focal_class.modifiers: private
focal_class.parameters: (Cluster cluster, Collection<String> endpoints)
focal_class.return: JmxProxy
focal_class.signature: JmxProxy connectImpl(Cluster cluster, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.connectImpl(Node node, Collection<String> endpoints)
focal_class.full_signature: private JmxProxy connectImpl(Node node, Collection<String> endpoints)
focal_class.identifier: connectImpl
focal_class.modifiers: private
focal_class.parameters: (Node node, Collection<String> endpoints)
focal_class.return: JmxProxy
focal_class.signature: JmxProxy connectImpl(Node node, Collection<String> endpoints)
focal_class.class_method_signature: ClusterFacade.enforceLocalNodeForSidecar(Collection<String> endpoints)
focal_class.full_signature: private Collection<String> enforceLocalNodeForSidecar(Collection<String> endpoints)
focal_class.identifier: enforceLocalNodeForSidecar
focal_class.modifiers: private
focal_class.parameters: (Collection<String> endpoints)
focal_class.return: Collection<String>
focal_class.signature: Collection<String> enforceLocalNodeForSidecar(Collection<String> endpoints)
focal_method.body: public static CompactionStats parseCompactionStats(String json) throws IOException {
      try {
        return parseJson(json, new TypeReference<CompactionStats>(){});
      } catch (IOException e) {
        // it can be that the storage had old format of compaction info, so we try to parse that
        List<Compaction> compactions = parseJson(json, new TypeReference<List<Compaction>>() {});
        return CompactionStats.builder()
            .withPendingCompactions(-1)
            .withActiveCompactions(compactions)
            .build();
      }
    }
focal_method.class_method_signature: ClusterFacade.parseCompactionStats(String json)
focal_method.full_signature: public static CompactionStats parseCompactionStats(String json)
focal_method.identifier: parseCompactionStats
focal_method.invocations: parseJson parseJson build withActiveCompactions withPendingCompactions builder
focal_method.modifiers: public static
focal_method.parameters: (String json)
focal_method.return: CompactionStats
focal_method.signature: CompactionStats parseCompactionStats(String json)