org.apache.hadoop.hbase.master
Interface MetricsMasterSource

All Superinterfaces:
BaseSource
All Known Implementing Classes:
MetricsMasterSourceImpl

public interface MetricsMasterSource
extends BaseSource

Interface that classes that expose metrics about the master will implement.


Field Summary
static String AVERAGE_LOAD_DESC
           
static String AVERAGE_LOAD_NAME
           
static String CLUSTER_ID_DESC
           
static String CLUSTER_ID_NAME
           
static String CLUSTER_REQUESTS_NAME
           
static String DEAD_REGION_SERVERS_DESC
           
static String DEAD_REGION_SERVERS_NAME
           
static String IS_ACTIVE_MASTER_DESC
           
static String IS_ACTIVE_MASTER_NAME
           
static String LIVE_REGION_SERVERS_DESC
           
static String LIVE_REGION_SERVERS_NAME
           
static String MASTER_ACTIVE_TIME_DESC
           
static String MASTER_ACTIVE_TIME_NAME
           
static String MASTER_START_TIME_DESC
           
static String MASTER_START_TIME_NAME
           
static String METRICS_CONTEXT
          The context metrics will be under.
static String METRICS_DESCRIPTION
          Description
static String METRICS_JMX_CONTEXT
          The name of the metrics context that metrics will be under in jmx
static String METRICS_NAME
          The name of the metrics
static String NUM_DEAD_REGION_SERVERS_NAME
           
static String NUM_REGION_SERVERS_NAME
           
static String NUMBER_OF_DEAD_REGION_SERVERS_DESC
           
static String NUMBER_OF_REGION_SERVERS_DESC
           
static String SERVER_NAME_DESC
           
static String SERVER_NAME_NAME
           
static String ZOOKEEPER_QUORUM_DESC
           
static String ZOOKEEPER_QUORUM_NAME
           
 
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
 
Method Summary
 void incRequests(int inc)
          Increment the number of requests the cluster has seen.
 
Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile
 

Field Detail

METRICS_NAME

static final String METRICS_NAME
The name of the metrics

See Also:
Constant Field Values

METRICS_CONTEXT

static final String METRICS_CONTEXT
The context metrics will be under.

See Also:
Constant Field Values

METRICS_JMX_CONTEXT

static final String METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx

See Also:
Constant Field Values

METRICS_DESCRIPTION

static final String METRICS_DESCRIPTION
Description

See Also:
Constant Field Values

MASTER_ACTIVE_TIME_NAME

static final String MASTER_ACTIVE_TIME_NAME
See Also:
Constant Field Values

MASTER_START_TIME_NAME

static final String MASTER_START_TIME_NAME
See Also:
Constant Field Values

AVERAGE_LOAD_NAME

static final String AVERAGE_LOAD_NAME
See Also:
Constant Field Values

LIVE_REGION_SERVERS_NAME

static final String LIVE_REGION_SERVERS_NAME
See Also:
Constant Field Values

DEAD_REGION_SERVERS_NAME

static final String DEAD_REGION_SERVERS_NAME
See Also:
Constant Field Values

NUM_REGION_SERVERS_NAME

static final String NUM_REGION_SERVERS_NAME
See Also:
Constant Field Values

NUM_DEAD_REGION_SERVERS_NAME

static final String NUM_DEAD_REGION_SERVERS_NAME
See Also:
Constant Field Values

ZOOKEEPER_QUORUM_NAME

static final String ZOOKEEPER_QUORUM_NAME
See Also:
Constant Field Values

SERVER_NAME_NAME

static final String SERVER_NAME_NAME
See Also:
Constant Field Values

CLUSTER_ID_NAME

static final String CLUSTER_ID_NAME
See Also:
Constant Field Values

IS_ACTIVE_MASTER_NAME

static final String IS_ACTIVE_MASTER_NAME
See Also:
Constant Field Values

CLUSTER_REQUESTS_NAME

static final String CLUSTER_REQUESTS_NAME
See Also:
Constant Field Values

MASTER_ACTIVE_TIME_DESC

static final String MASTER_ACTIVE_TIME_DESC
See Also:
Constant Field Values

MASTER_START_TIME_DESC

static final String MASTER_START_TIME_DESC
See Also:
Constant Field Values

AVERAGE_LOAD_DESC

static final String AVERAGE_LOAD_DESC
See Also:
Constant Field Values

LIVE_REGION_SERVERS_DESC

static final String LIVE_REGION_SERVERS_DESC
See Also:
Constant Field Values

NUMBER_OF_REGION_SERVERS_DESC

static final String NUMBER_OF_REGION_SERVERS_DESC
See Also:
Constant Field Values

DEAD_REGION_SERVERS_DESC

static final String DEAD_REGION_SERVERS_DESC
See Also:
Constant Field Values

NUMBER_OF_DEAD_REGION_SERVERS_DESC

static final String NUMBER_OF_DEAD_REGION_SERVERS_DESC
See Also:
Constant Field Values

ZOOKEEPER_QUORUM_DESC

static final String ZOOKEEPER_QUORUM_DESC
See Also:
Constant Field Values

SERVER_NAME_DESC

static final String SERVER_NAME_DESC
See Also:
Constant Field Values

CLUSTER_ID_DESC

static final String CLUSTER_ID_DESC
See Also:
Constant Field Values

IS_ACTIVE_MASTER_DESC

static final String IS_ACTIVE_MASTER_DESC
See Also:
Constant Field Values
Method Detail

incRequests

void incRequests(int inc)
Increment the number of requests the cluster has seen.

Parameters:
inc - Ammount to increment the total by.


Copyright © 2015 The Apache Software Foundation. All rights reserved.