类 PersistentOfflineTopicStats
java.lang.Object
org.apache.pulsar.common.policies.data.PersistentOfflineTopicStats
This object is populated using meta data in zookeeper without actually bringing the topic online.
-
嵌套类概要
嵌套类修饰符和类型类说明static classDetails about a cursor.static classDetails about a ledger. -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddCursorDetails(String cursor, long backlog, long ledgerId) voidaddLedgerDetails(long entries, long timestamp, long size, long ledgerId) voidreset()
-
字段详细资料
-
storageSize
public long storageSizeSpace used to store the messages for the topic (bytes). -
totalMessages
public long totalMessagesTotal number of messages. -
messageBacklog
public long messageBacklogTotal backlog. -
brokerName
Broker host where this stat was generated. -
topicName
Offline topic name. -
dataLedgerDetails
Data ledger ids. -
cursorDetails
Cursor ledger ids and backlog. -
statGeneratedAt
Timestamp when stat was generated.
-
-
构造器详细资料
-
PersistentOfflineTopicStats
-
-
方法详细资料
-
reset
public void reset() -
addCursorDetails
-
addLedgerDetails
public void addLedgerDetails(long entries, long timestamp, long size, long ledgerId)
-