Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerStats ¶
type BrokerStats struct { MsgPutTotalTodayMorning int64 MsgPutTotalYesterdayMorning int64 MsgGetTotalTodayMorning int64 MsgGetTotalYesterdayMorning int64 DefaultMessageStore *stgstorelog.DefaultMessageStore }
BrokerStats broker统计的数据(昨天和今天的Get、Put数据量) Author rongzhihong Since 2017/9/12
func NewBrokerStats ¶
func NewBrokerStats(defaultMessageStore *stgstorelog.DefaultMessageStore) *BrokerStats
NewBrokerStats 初始化broker统计 Author rongzhihong Since 2017/9/12
func (*BrokerStats) GetMsgGetTotalTodayNow ¶
func (bs *BrokerStats) GetMsgGetTotalTodayNow() int64
GetMsgGetTotalTodayNow 获得当前get消息的次数 Author rongzhihong Since 2017/9/12
func (*BrokerStats) GetMsgPutTotalTodayNow ¶
func (bs *BrokerStats) GetMsgPutTotalTodayNow() int64
GetMsgPutTotalTodayNow 获得当前put消息的次数 Author rongzhihong Since 2017/9/12
func (*BrokerStats) Record ¶
func (bs *BrokerStats) Record()
NewBrokerStats 初始化broker统计 Author rongzhihong Since 2017/9/12
Click to show internal directories.
Click to hide internal directories.