com.alibaba.rocketmq.common.admin
类 ConsumeStats

java.lang.Object
  继承者 com.alibaba.rocketmq.remoting.protocol.RemotingSerializable
      继承者 com.alibaba.rocketmq.common.admin.ConsumeStats

public class ConsumeStats
extends RemotingSerializable

Consumer消费进度

从以下版本开始:
2013-7-14
作者:
shijia.wxr

构造方法摘要
ConsumeStats()
           
 
方法摘要
 long computeTotalDiff()
           
 long getConsumeTps()
           
 HashMap<MessageQueue,OffsetWrapper> getOffsetTable()
           
 void setConsumeTps(long consumeTps)
           
 void setOffsetTable(HashMap<MessageQueue,OffsetWrapper> offsetTable)
           
 
从类 com.alibaba.rocketmq.remoting.protocol.RemotingSerializable 继承的方法
decode, encode, encode, fromJson, toJson, toJson, toJson
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ConsumeStats

public ConsumeStats()
方法详细信息

computeTotalDiff

public long computeTotalDiff()

getOffsetTable

public HashMap<MessageQueue,OffsetWrapper> getOffsetTable()

setOffsetTable

public void setOffsetTable(HashMap<MessageQueue,OffsetWrapper> offsetTable)

getConsumeTps

public long getConsumeTps()

setConsumeTps

public void setConsumeTps(long consumeTps)


Copyright © 2012-2015. All Rights Reserved.