类 ManagedLedgerMBeanImpl
java.lang.Object
org.apache.bookkeeper.mledger.impl.ManagedLedgerMBeanImpl
- 所有已实现的接口:
ManagedLedgerMXBean
-
字段概要
字段修饰符和类型字段说明static final long[]static final long[] -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddAddEntryLatencySample(long latency, TimeUnit unit) voidaddAddEntrySample(long size) voidaddLedgerAddEntryLatencySample(long latency, TimeUnit unit) voidaddLedgerSwitchLatencySample(long latency, TimeUnit unit) voidvoidaddReadEntriesSample(int count, long totalSize) voidvoidvoidvoidvoidvoidvoidvoiddoublelongdoublelong[]doublelongdoubledoublelong[]doublelong[]doublelong[]doublegetName()longdoublelongdoublelonglonglongvoidvoidvoidrefreshStats(long period, TimeUnit unit) voidvoidvoidvoidvoidvoidvoidvoid
-
字段详细资料
-
ENTRY_LATENCY_BUCKETS_USEC
public static final long[] ENTRY_LATENCY_BUCKETS_USEC -
ENTRY_SIZE_BUCKETS_BYTES
public static final long[] ENTRY_SIZE_BUCKETS_BYTES
-
-
构造器详细资料
-
ManagedLedgerMBeanImpl
-
-
方法详细资料
-
refreshStats
-
addAddEntrySample
public void addAddEntrySample(long size) -
addMarkDeleteOp
public void addMarkDeleteOp() -
recordAddEntryError
public void recordAddEntryError() -
recordReadEntriesError
public void recordReadEntriesError() -
addAddEntryLatencySample
-
addLedgerAddEntryLatencySample
-
addLedgerSwitchLatencySample
-
addReadEntriesSample
public void addReadEntriesSample(int count, long totalSize) -
startDataLedgerOpenOp
public void startDataLedgerOpenOp() -
endDataLedgerOpenOp
public void endDataLedgerOpenOp() -
startDataLedgerCloseOp
public void startDataLedgerCloseOp() -
endDataLedgerCloseOp
public void endDataLedgerCloseOp() -
startDataLedgerCreateOp
public void startDataLedgerCreateOp() -
endDataLedgerCreateOp
public void endDataLedgerCreateOp() -
startDataLedgerDeleteOp
public void startDataLedgerDeleteOp() -
endDataLedgerDeleteOp
public void endDataLedgerDeleteOp() -
startCursorLedgerOpenOp
public void startCursorLedgerOpenOp() -
endCursorLedgerOpenOp
public void endCursorLedgerOpenOp() -
startCursorLedgerCloseOp
public void startCursorLedgerCloseOp() -
endCursorLedgerCloseOp
public void endCursorLedgerCloseOp() -
startCursorLedgerCreateOp
public void startCursorLedgerCreateOp() -
endCursorLedgerCreateOp
public void endCursorLedgerCreateOp() -
startCursorLedgerDeleteOp
public void startCursorLedgerDeleteOp() -
endCursorLedgerDeleteOp
public void endCursorLedgerDeleteOp() -
getName
- 指定者:
getName在接口中ManagedLedgerMXBean- 返回:
- the ManagedLedger name
-
getAddEntryMessagesRate
public double getAddEntryMessagesRate()- 指定者:
getAddEntryMessagesRate在接口中ManagedLedgerMXBean- 返回:
- the msg/s rate of messages added
-
getAddEntryBytesRate
public double getAddEntryBytesRate()- 指定者:
getAddEntryBytesRate在接口中ManagedLedgerMXBean- 返回:
- the bytes/s rate of messages added
-
getAddEntryWithReplicasBytesRate
public double getAddEntryWithReplicasBytesRate()- 指定者:
getAddEntryWithReplicasBytesRate在接口中ManagedLedgerMXBean- 返回:
- the bytes/s rate of messages added with replicas
-
getReadEntriesRate
public double getReadEntriesRate()- 指定者:
getReadEntriesRate在接口中ManagedLedgerMXBean- 返回:
- the msg/s rate of messages read
-
getReadEntriesBytesRate
public double getReadEntriesBytesRate()- 指定者:
getReadEntriesBytesRate在接口中ManagedLedgerMXBean- 返回:
- the bytes/s rate of messages read
-
getAddEntrySucceed
public long getAddEntrySucceed()- 指定者:
getAddEntrySucceed在接口中ManagedLedgerMXBean- 返回:
- the number of addEntry requests that succeeded
-
getAddEntryErrors
public long getAddEntryErrors()- 指定者:
getAddEntryErrors在接口中ManagedLedgerMXBean- 返回:
- the number of addEntry requests that failed
-
getReadEntriesSucceeded
public long getReadEntriesSucceeded()- 指定者:
getReadEntriesSucceeded在接口中ManagedLedgerMXBean- 返回:
- the number of readEntries requests that succeeded
-
getReadEntriesErrors
public long getReadEntriesErrors()- 指定者:
getReadEntriesErrors在接口中ManagedLedgerMXBean- 返回:
- the number of readEntries requests that failed
-
getMarkDeleteRate
public double getMarkDeleteRate()- 指定者:
getMarkDeleteRate在接口中ManagedLedgerMXBean- 返回:
- the rate of mark-delete ops/s
-
getEntrySizeAverage
public double getEntrySizeAverage()- 指定者:
getEntrySizeAverage在接口中ManagedLedgerMXBean
-
getEntrySizeBuckets
public long[] getEntrySizeBuckets()- 指定者:
getEntrySizeBuckets在接口中ManagedLedgerMXBean
-
getAddEntryLatencyAverageUsec
public double getAddEntryLatencyAverageUsec() -
getAddEntryLatencyBuckets
public long[] getAddEntryLatencyBuckets()- 指定者:
getAddEntryLatencyBuckets在接口中ManagedLedgerMXBean
-
getLedgerAddEntryLatencyAverageUsec
public double getLedgerAddEntryLatencyAverageUsec() -
getLedgerAddEntryLatencyBuckets
public long[] getLedgerAddEntryLatencyBuckets() -
getLedgerSwitchLatencyBuckets
public long[] getLedgerSwitchLatencyBuckets() -
getInternalAddEntryLatencyBuckets
-
getInternalLedgerAddEntryLatencyBuckets
-
getInternalEntrySizeBuckets
-
getLedgerSwitchLatencyAverageUsec
public double getLedgerSwitchLatencyAverageUsec() -
getStoredMessagesSize
public long getStoredMessagesSize()- 指定者:
getStoredMessagesSize在接口中ManagedLedgerMXBean- 返回:
- the total size of the messages in active ledgers (accounting for the multiple copies stored)
-
getStoredMessagesLogicalSize
public long getStoredMessagesLogicalSize()- 指定者:
getStoredMessagesLogicalSize在接口中ManagedLedgerMXBean- 返回:
- the total size of the messages in active ledgers (without accounting for replicas)
-
getNumberOfMessagesInBacklog
public long getNumberOfMessagesInBacklog()- 指定者:
getNumberOfMessagesInBacklog在接口中ManagedLedgerMXBean- 返回:
- the number of backlog messages for all the consumers
-
getPendingBookieOpsStats
- 指定者:
getPendingBookieOpsStats在接口中ManagedLedgerMXBean
-