Package org.apache.bookkeeper.mledger
Interface ManagedLedgerMXBean
- All Known Implementing Classes:
ManagedLedgerMBeanImpl
@LimitedPrivate
@Stable
public interface ManagedLedgerMXBean
Management Bean for a
ManagedLedger.-
Method Summary
Modifier and TypeMethodDescriptiondoublelongdoublelong[]doublelongdoubledoublelong[]doublelong[]doublelong[]doublegetName()longdoublelongdoubledoublelonglonglong
-
Method Details
-
getName
String getName()- Returns:
- the ManagedLedger name
-
getStoredMessagesSize
long getStoredMessagesSize()- Returns:
- the total size of the messages in active ledgers (accounting for the multiple copies stored)
-
getStoredMessagesLogicalSize
long getStoredMessagesLogicalSize()- Returns:
- the total size of the messages in active ledgers (without accounting for replicas)
-
getNumberOfMessagesInBacklog
long getNumberOfMessagesInBacklog()- Returns:
- the number of backlog messages for all the consumers
-
getAddEntryMessagesRate
double getAddEntryMessagesRate()- Returns:
- the msg/s rate of messages added
-
getAddEntryBytesRate
double getAddEntryBytesRate()- Returns:
- the bytes/s rate of messages added
-
getAddEntryWithReplicasBytesRate
double getAddEntryWithReplicasBytesRate()- Returns:
- the bytes/s rate of messages added with replicas
-
getReadEntriesRate
double getReadEntriesRate()- Returns:
- the msg/s rate of messages read
-
getReadEntriesBytesRate
double getReadEntriesBytesRate()- Returns:
- the bytes/s rate of messages read
-
getMarkDeleteRate
double getMarkDeleteRate()- Returns:
- the rate of mark-delete ops/s
-
getAddEntrySucceed
long getAddEntrySucceed()- Returns:
- the number of addEntry requests that succeeded
-
getAddEntryErrors
long getAddEntryErrors()- Returns:
- the number of addEntry requests that failed
-
getReadEntriesSucceeded
long getReadEntriesSucceeded()- Returns:
- the number of readEntries requests that succeeded
-
getReadEntriesErrors
long getReadEntriesErrors()- Returns:
- the number of readEntries requests that failed
-
getReadEntriesOpsCacheMissesRate
double getReadEntriesOpsCacheMissesRate()- Returns:
- the number of readEntries requests that cache miss Rate
-
getEntrySizeAverage
double getEntrySizeAverage() -
getEntrySizeBuckets
long[] getEntrySizeBuckets() -
getAddEntryLatencyAverageUsec
double getAddEntryLatencyAverageUsec() -
getAddEntryLatencyBuckets
long[] getAddEntryLatencyBuckets() -
getLedgerSwitchLatencyBuckets
long[] getLedgerSwitchLatencyBuckets() -
getLedgerSwitchLatencyAverageUsec
double getLedgerSwitchLatencyAverageUsec() -
getInternalAddEntryLatencyBuckets
StatsBuckets getInternalAddEntryLatencyBuckets() -
getInternalEntrySizeBuckets
StatsBuckets getInternalEntrySizeBuckets() -
getPendingBookieOpsStats
PendingBookieOpsStats getPendingBookieOpsStats() -
getLedgerAddEntryLatencyAverageUsec
double getLedgerAddEntryLatencyAverageUsec() -
getLedgerAddEntryLatencyBuckets
long[] getLedgerAddEntryLatencyBuckets() -
getInternalLedgerAddEntryLatencyBuckets
StatsBuckets getInternalLedgerAddEntryLatencyBuckets()
-