Cache Stats Service
interface CacheStatsService
Service interface for collecting cache performance statistics during stats generation.
This service tracks different types of cache hits and misses to provide insights into how effective the caching layers are during GitHub API requests.
Inheritors
Functions
Link copied to clipboard
Gets the cache status summary for PR-level requests and resets the tracking.
Link copied to clipboard
Gets the current cache statistics snapshot.
Link copied to clipboard
Records a database cache hit (response served from PostgreSQL).
Records a database cache hit for a specific request type.
Link copied to clipboard
Records a database cache miss (not found in PostgreSQL cache).
Records a database cache miss for a specific request type.
Link copied to clipboard
Records a network request (cache miss from all layers).
Link copied to clipboard
Records an OkHttp cache hit (response served from OkHttp's file cache).