recordHit method
Records a cache hit for the given key.
Implementation
void recordHit(String key) {
_hitCount++;
_recordAccess(key);
_addOperation(CacheOperationType.hit, key);
}
Records a cache hit for the given key.
void recordHit(String key) {
_hitCount++;
_recordAccess(key);
_addOperation(CacheOperationType.hit, key);
}