Interface DfsBlockCacheTable.BlockCacheStats

Enclosing interface:
DfsBlockCacheTable

public static interface DfsBlockCacheTable.BlockCacheStats
Provides methods used with Block Cache statistics.
  • Method Summary

    Modifier and Type
    Method
    Description
    long[]
    Get total number of bytes in the cache, per pack file extension.
    long[]
    Get number of evictions performed due to cache being full, per pack file extension.
    long[]
    Get number of requests for items in the cache, per pack file extension.
    long[]
    Get hit ratios.
    long[]
    Get number of requests for items not in the cache, per pack file extension.
    Get the name of the block cache generating this instance.
    long[]
    Get total number of requests (hit + miss), per pack file extension.
  • Method Details

    • getName

      String getName()
      Get the name of the block cache generating this instance.
      Returns:
      this cache's name.
    • getCurrentSize

      long[] getCurrentSize()
      Get total number of bytes in the cache, per pack file extension.
      Returns:
      total number of bytes in the cache, per pack file extension.
    • getHitCount

      long[] getHitCount()
      Get number of requests for items in the cache, per pack file extension.
      Returns:
      the number of requests for items in the cache, per pack file extension.
    • getMissCount

      long[] getMissCount()
      Get number of requests for items not in the cache, per pack file extension.
      Returns:
      the number of requests for items not in the cache, per pack file extension.
    • getTotalRequestCount

      long[] getTotalRequestCount()
      Get total number of requests (hit + miss), per pack file extension.
      Returns:
      total number of requests (hit + miss), per pack file extension.
    • getHitRatio

      long[] getHitRatio()
      Get hit ratios.
      Returns:
      hit ratios.
    • getEvictions

      long[] getEvictions()
      Get number of evictions performed due to cache being full, per pack file extension.
      Returns:
      the number of evictions performed due to cache being full, per pack file extension.