Interface ManagedLedgerFactoryMXBean

  • All Known Implementing Classes:
    ManagedLedgerFactoryMBeanImpl

    @LimitedPrivate
    @Stable
    public interface ManagedLedgerFactoryMXBean
    JMX Bean interface for ManagedLedgerFactory stats.
    • Method Detail

      • getNumberOfManagedLedgers

        int getNumberOfManagedLedgers()
        Get the number of currently opened managed ledgers on the factory.
      • getCacheUsedSize

        long getCacheUsedSize()
        Get the size in byte used to store the entries payloads.
      • getCacheMaxSize

        long getCacheMaxSize()
        Get the configured maximum cache size.
      • getCacheHitsRate

        double getCacheHitsRate()
        Get the number of cache hits per second.
      • getCacheMissesRate

        double getCacheMissesRate()
        Get the number of cache misses per second.
      • getCacheHitsThroughput

        double getCacheHitsThroughput()
        Get the amount of data is retrieved from the cache in byte/s.
      • getCacheMissesThroughput

        double getCacheMissesThroughput()
        Get the amount of data is retrieved from the bookkeeper in byte/s.
      • getNumberOfCacheEvictions

        long getNumberOfCacheEvictions()
        Get the number of cache evictions during the last minute.