CacheLogger.php
9 months ago
CacheLoggerChain.php
9 months ago
StatisticsCacheLogger.php
9 months ago
index.php
9 months ago
CacheLogger.php
20 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\ORM\Cache\Logging; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | use MailPoetVendor\Doctrine\ORM\Cache\CollectionCacheKey; |
| 6 | use MailPoetVendor\Doctrine\ORM\Cache\EntityCacheKey; |
| 7 | use MailPoetVendor\Doctrine\ORM\Cache\QueryCacheKey; |
| 8 | interface CacheLogger |
| 9 | { |
| 10 | public function entityCachePut($regionName, EntityCacheKey $key); |
| 11 | public function entityCacheHit($regionName, EntityCacheKey $key); |
| 12 | public function entityCacheMiss($regionName, EntityCacheKey $key); |
| 13 | public function collectionCachePut($regionName, CollectionCacheKey $key); |
| 14 | public function collectionCacheHit($regionName, CollectionCacheKey $key); |
| 15 | public function collectionCacheMiss($regionName, CollectionCacheKey $key); |
| 16 | public function queryCachePut($regionName, QueryCacheKey $key); |
| 17 | public function queryCacheHit($regionName, QueryCacheKey $key); |
| 18 | public function queryCacheMiss($regionName, QueryCacheKey $key); |
| 19 | } |
| 20 |