Class ManagedLedgerMBeanImpl

    • Field Detail

      • ENTRY_LATENCY_BUCKETS_USEC

        public static final long[] ENTRY_LATENCY_BUCKETS_USEC
      • ENTRY_SIZE_BUCKETS_BYTES

        public static final long[] ENTRY_SIZE_BUCKETS_BYTES
    • Constructor Detail

      • ManagedLedgerMBeanImpl

        public ManagedLedgerMBeanImpl​(ManagedLedgerImpl managedLedger)
    • Method Detail

      • refreshStats

        public void refreshStats​(long period,
                                 java.util.concurrent.TimeUnit unit)
      • addAddEntrySample

        public void addAddEntrySample​(long size)
      • addMarkDeleteOp

        public void addMarkDeleteOp()
      • recordAddEntryError

        public void recordAddEntryError()
      • recordReadEntriesError

        public void recordReadEntriesError()
      • addAddEntryLatencySample

        public void addAddEntryLatencySample​(long latency,
                                             java.util.concurrent.TimeUnit unit)
      • addLedgerAddEntryLatencySample

        public void addLedgerAddEntryLatencySample​(long latency,
                                                   java.util.concurrent.TimeUnit unit)
      • addLedgerSwitchLatencySample

        public void addLedgerSwitchLatencySample​(long latency,
                                                 java.util.concurrent.TimeUnit unit)
      • 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

        public java.lang.String getName()
        Specified by:
        getName in interface ManagedLedgerMXBean
        Returns:
        the ManagedLedger name
      • getStoredMessagesSize

        public long getStoredMessagesSize()
        Specified by:
        getStoredMessagesSize in interface ManagedLedgerMXBean
        Returns:
        the total size of the messages in active ledgers (accounting for the multiple copies stored)