com.taobao.metamorphosis.server.stats
类 StatsManager.TopicStats
java.lang.Object
com.taobao.metamorphosis.server.stats.StatsManager.TopicStats
- 包容类:
- StatsManager
public static class StatsManager.TopicStats
- extends Object
StatsManager.TopicStats
public StatsManager.TopicStats(String topic,
int partitions,
TopicConfig topicConfig,
long messageCount,
long messageBytes,
String realTimePut,
String realTimeGet,
String realTimeGetMissed,
String realTimePutFailed)
getPartitions
public int getPartitions()
setPartitions
public void setPartitions(int partitions)
getTopic
public String getTopic()
getTopicConfig
public TopicConfig getTopicConfig()
getMessageCount
public long getMessageCount()
getAvgMsgSize
public String getAvgMsgSize()
getMessageBytes
public long getMessageBytes()
getPuts
public String getPuts()
setPuts
public void setPuts(String put)
getGets
public String getGets()
setGets
public void setGets(String get)
getGetMissed
public String getGetMissed()
setGetMissed
public void setGetMissed(String getMissed)
getPutFailed
public String getPutFailed()
setPutFailed
public void setPutFailed(String putFailed)
toString
public String toString()
- 覆盖:
- 类
Object
中的 toString
Copyright © 2010–2013. All rights reserved.