public static interface CacheStatsTracker.CacheRequest
Modifier and Type | Method and Description |
---|---|
void |
recordHit()
Records that a cache hit has occurred and updates the corresponding CacheStatsTracker, and
records the time it took for the cache retrieval
|
void |
recordLoadFail()
Records that a cache load has failed and updates the corresponding CacheStatsTracker, and
records the time spent on a cache miss
|
void |
recordLoadSuccess()
Records that a cache load was successful and updates the corresponding CacheStatsTracker, and
records the time it took to load the object and updates the total time spent on a cache miss
|
void |
recordMiss()
Records that a cache miss has occurred and updates the corresponding CacheStatsTracker, and
starts recording the load time starting at this instant.
|
void |
recordMissMatch()
Records that a cache miss due to mismatch has occurred and updates the corresponding
CacheStatsTracker, and starts recording the load time starting at this instant.
|
void recordHit()
void recordMiss()
void recordMissMatch()
void recordLoadSuccess()
void recordLoadFail()