Class ClientSCMMetrics
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 Summary
Modifier and TypeMethodDescriptionlonglonglongstatic ClientSCMMetricsvoidOne cache hit eventvoidOne cache miss eventvoidOne cache release event
-
Method Details
-
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()
-