Class ManagedLedgerInternalStats
java.lang.Object
org.apache.pulsar.common.policies.data.ManagedLedgerInternalStats
- Direct Known Subclasses:
PersistentTopicInternalStats
ManagedLedger internal statistics.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPulsar cursor statistics.static classLedger information. -
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe count of messages written to the ledger that is currently open for writing.longThe size of messages written to the ledger that is currently open for writing (in bytes).The list of all cursors on this topic.longMessages published since this broker loaded this managedLedger.The ledgerid: entryid of the last message that is written successfully.The time when the last ledger is created.The time when the last ledger failed.The ordered list of all ledgers for this topic holding messages.longThe total number of entries being tracked.intThe number of messages that complete (asynchronous) write requests.The state of this ledger for writing.longThe total storage size of all messages (in bytes).intThe number of cursors that are "caught up" and waiting for a new message to be published. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
entriesAddedCounter
public long entriesAddedCounterMessages published since this broker loaded this managedLedger. -
numberOfEntries
public long numberOfEntriesThe total number of entries being tracked. -
totalSize
public long totalSizeThe total storage size of all messages (in bytes). -
currentLedgerEntries
public long currentLedgerEntriesThe count of messages written to the ledger that is currently open for writing. -
currentLedgerSize
public long currentLedgerSizeThe size of messages written to the ledger that is currently open for writing (in bytes). -
lastLedgerCreatedTimestamp
The time when the last ledger is created. -
lastLedgerCreationFailureTimestamp
The time when the last ledger failed. -
waitingCursorsCount
public int waitingCursorsCountThe number of cursors that are "caught up" and waiting for a new message to be published. -
pendingAddEntriesCount
public int pendingAddEntriesCountThe number of messages that complete (asynchronous) write requests. -
lastConfirmedEntry
The ledgerid: entryid of the last message that is written successfully. If the entryid is -1, then the ledger is open, yet no entries are written. -
state
The state of this ledger for writing. The state LedgerOpened means that a ledger is open for saving published messages. -
ledgers
The ordered list of all ledgers for this topic holding messages. -
cursors
The list of all cursors on this topic. Each subscription in the topic stats has a cursor.
-
-
Constructor Details
-
ManagedLedgerInternalStats
public ManagedLedgerInternalStats()
-