recordPut method

void recordPut(
  1. String key,
  2. int estimatedSize
)

Records a cache put for the given key with the estimated size.

Implementation

void recordPut(String key, int estimatedSize) {
  _putCount++;
  _updateSize(key, estimatedSize);
  _addOperation(CacheOperationType.put, key, size: estimatedSize);
}