com.alibaba.rocketmq.store.stats
类 BrokerStatsManager

java.lang.Object
  继承者 com.alibaba.rocketmq.store.stats.BrokerStatsManager

public class BrokerStatsManager
extends Object


字段摘要
static String BROKER_GET_NUMS
           
static String BROKER_PUT_NUMS
           
static String GROUP_GET_FALL
          读磁盘落后统计
static String GROUP_GET_NUMS
           
static String GROUP_GET_SIZE
           
static String SNDBCK_PUT_NUMS
           
static String TOPIC_PUT_NUMS
           
static String TOPIC_PUT_SIZE
           
 
构造方法摘要
BrokerStatsManager(String clusterName)
           
 
方法摘要
 StatsItem getStatsItem(String statsName, String statsKey)
           
 void incBrokerGetNums(int incValue)
           
 void incBrokerPutNums()
           
 void incGroupGetNums(String group, String topic, int incValue)
           
 void incGroupGetSize(String group, String topic, int incValue)
           
 void incSendBackNums(String group, String topic)
           
 void incTopicPutNums(String topic)
           
 void incTopicPutSize(String topic, int size)
           
 void recordDiskFallBehind(String group, String topic, int queueId, long fallBehind)
           
 void shutdown()
           
 void start()
           
 double tpsGroupGetNums(String group, String topic)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

TOPIC_PUT_NUMS

public static final String TOPIC_PUT_NUMS
另请参见:
常量字段值

TOPIC_PUT_SIZE

public static final String TOPIC_PUT_SIZE
另请参见:
常量字段值

GROUP_GET_NUMS

public static final String GROUP_GET_NUMS
另请参见:
常量字段值

GROUP_GET_SIZE

public static final String GROUP_GET_SIZE
另请参见:
常量字段值

SNDBCK_PUT_NUMS

public static final String SNDBCK_PUT_NUMS
另请参见:
常量字段值

BROKER_PUT_NUMS

public static final String BROKER_PUT_NUMS
另请参见:
常量字段值

BROKER_GET_NUMS

public static final String BROKER_GET_NUMS
另请参见:
常量字段值

GROUP_GET_FALL

public static final String GROUP_GET_FALL
读磁盘落后统计

另请参见:
常量字段值
构造方法详细信息

BrokerStatsManager

public BrokerStatsManager(String clusterName)
方法详细信息

start

public void start()

shutdown

public void shutdown()

getStatsItem

public StatsItem getStatsItem(String statsName,
                              String statsKey)

incTopicPutNums

public void incTopicPutNums(String topic)

incTopicPutSize

public void incTopicPutSize(String topic,
                            int size)

incGroupGetNums

public void incGroupGetNums(String group,
                            String topic,
                            int incValue)

incGroupGetSize

public void incGroupGetSize(String group,
                            String topic,
                            int incValue)

incBrokerPutNums

public void incBrokerPutNums()

incBrokerGetNums

public void incBrokerGetNums(int incValue)

incSendBackNums

public void incSendBackNums(String group,
                            String topic)

tpsGroupGetNums

public double tpsGroupGetNums(String group,
                              String topic)

recordDiskFallBehind

public void recordDiskFallBehind(String group,
                                 String topic,
                                 int queueId,
                                 long fallBehind)


Copyright © 2012–2015. All rights reserved.