@InterfaceAudience.Private public class MetricsCoprocessor extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
MASTER_COPROC_METRICS_CONTEXT |
private static String |
MASTER_COPROC_METRICS_DESCRIPTION |
private static String |
MASTER_COPROC_METRICS_JMX_CONTEXT |
private static String |
MASTER_COPROC_METRICS_NAME |
private static String |
REGION_COPROC_METRICS_CONTEXT |
private static String |
REGION_COPROC_METRICS_DESCRIPTION |
private static String |
REGION_COPROC_METRICS_JMX_CONTEXT |
private static String |
REGION_COPROC_METRICS_NAME |
private static String |
RS_COPROC_METRICS_CONTEXT |
private static String |
RS_COPROC_METRICS_DESCRIPTION |
private static String |
RS_COPROC_METRICS_JMX_CONTEXT |
private static String |
RS_COPROC_METRICS_NAME |
private static String |
WAL_COPROC_METRICS_CONTEXT |
private static String |
WAL_COPROC_METRICS_DESCRIPTION |
private static String |
WAL_COPROC_METRICS_JMX_CONTEXT |
private static String |
WAL_COPROC_METRICS_NAME |
Constructor and Description |
---|
MetricsCoprocessor() |
Modifier and Type | Method and Description |
---|---|
static MetricRegistry |
createRegistryForMasterCoprocessor(String clazz) |
static MetricRegistry |
createRegistryForRegionCoprocessor(String clazz) |
static MetricRegistry |
createRegistryForRSCoprocessor(String clazz) |
static MetricRegistry |
createRegistryForWALCoprocessor(String clazz) |
(package private) static MetricRegistryInfo |
createRegistryInfoForMasterCoprocessor(String clazz) |
static MetricRegistryInfo |
createRegistryInfoForRegionCoprocessor(String clazz) |
(package private) static MetricRegistryInfo |
createRegistryInfoForRSCoprocessor(String clazz) |
static MetricRegistryInfo |
createRegistryInfoForWALCoprocessor(String clazz) |
static void |
removeRegistry(MetricRegistry registry) |
private static String |
suffix(String metricName,
String cpName) |
private static final String MASTER_COPROC_METRICS_NAME
private static final String MASTER_COPROC_METRICS_CONTEXT
private static final String MASTER_COPROC_METRICS_DESCRIPTION
private static final String MASTER_COPROC_METRICS_JMX_CONTEXT
private static final String RS_COPROC_METRICS_NAME
private static final String RS_COPROC_METRICS_CONTEXT
private static final String RS_COPROC_METRICS_DESCRIPTION
private static final String RS_COPROC_METRICS_JMX_CONTEXT
private static final String REGION_COPROC_METRICS_NAME
private static final String REGION_COPROC_METRICS_CONTEXT
private static final String REGION_COPROC_METRICS_DESCRIPTION
private static final String REGION_COPROC_METRICS_JMX_CONTEXT
private static final String WAL_COPROC_METRICS_NAME
private static final String WAL_COPROC_METRICS_CONTEXT
private static final String WAL_COPROC_METRICS_DESCRIPTION
private static final String WAL_COPROC_METRICS_JMX_CONTEXT
public MetricsCoprocessor()
static MetricRegistryInfo createRegistryInfoForMasterCoprocessor(String clazz)
public static MetricRegistry createRegistryForMasterCoprocessor(String clazz)
static MetricRegistryInfo createRegistryInfoForRSCoprocessor(String clazz)
public static MetricRegistry createRegistryForRSCoprocessor(String clazz)
public static MetricRegistryInfo createRegistryInfoForRegionCoprocessor(String clazz)
public static MetricRegistry createRegistryForRegionCoprocessor(String clazz)
public static MetricRegistryInfo createRegistryInfoForWALCoprocessor(String clazz)
public static MetricRegistry createRegistryForWALCoprocessor(String clazz)
public static void removeRegistry(MetricRegistry registry)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.