java.lang.Object
org.apache.hadoop.yarn.server.sharedcachemanager.metrics.ClientSCMMetrics

@Private @Unstable @Metrics(about="Client SCM metrics", context="yarn") public class ClientSCMMetrics extends Object
This class is for maintaining client requests metrics and publishing them through the metrics interfaces.
  • Method Details

    • getInstance

      public static ClientSCMMetrics getInstance()
    • incCacheHitCount

      public void incCacheHitCount()
      One cache hit event
    • incCacheMissCount

      public void incCacheMissCount()
      One cache miss event
    • incCacheRelease

      public void incCacheRelease()
      One cache release event
    • getCacheHits

      public long getCacheHits()
    • getCacheMisses

      public long getCacheMisses()
    • getCacheReleases

      public long getCacheReleases()