interface CacheLogger (View source)

Interface for logging.

Methods

entityCachePut(string $regionName, EntityCacheKey $key)

Log an entity put into second level cache.

entityCacheHit(string $regionName, EntityCacheKey $key)

Log an entity get from second level cache resulted in a hit.

entityCacheMiss(string $regionName, EntityCacheKey $key)

Log an entity get from second level cache resulted in a miss.

collectionCachePut(string $regionName, CollectionCacheKey $key)

Log an entity put into second level cache.

collectionCacheHit(string $regionName, CollectionCacheKey $key)

Log an entity get from second level cache resulted in a hit.

collectionCacheMiss(string $regionName, CollectionCacheKey $key)

Log an entity get from second level cache resulted in a miss.

queryCachePut(string $regionName, QueryCacheKey $key)

Log a query put into the query cache.

queryCacheHit(string $regionName, QueryCacheKey $key)

Log a query get from the query cache resulted in a hit.

queryCacheMiss(string $regionName, QueryCacheKey $key)

Log a query get from the query cache resulted in a miss.

Details

entityCachePut(string $regionName, EntityCacheKey $key)

Log an entity put into second level cache.

Parameters

string $regionName The name of the cache region.
EntityCacheKey $key The cache key of the entity.

entityCacheHit(string $regionName, EntityCacheKey $key)

Log an entity get from second level cache resulted in a hit.

Parameters

string $regionName The name of the cache region.
EntityCacheKey $key The cache key of the entity.

entityCacheMiss(string $regionName, EntityCacheKey $key)

Log an entity get from second level cache resulted in a miss.

Parameters

string $regionName The name of the cache region.
EntityCacheKey $key The cache key of the entity.

collectionCachePut(string $regionName, CollectionCacheKey $key)

Log an entity put into second level cache.

Parameters

string $regionName The name of the cache region.
CollectionCacheKey $key The cache key of the collection.

collectionCacheHit(string $regionName, CollectionCacheKey $key)

Log an entity get from second level cache resulted in a hit.

Parameters

string $regionName The name of the cache region.
CollectionCacheKey $key The cache key of the collection.

collectionCacheMiss(string $regionName, CollectionCacheKey $key)

Log an entity get from second level cache resulted in a miss.

Parameters

string $regionName The name of the cache region.
CollectionCacheKey $key The cache key of the collection.

queryCachePut(string $regionName, QueryCacheKey $key)

Log a query put into the query cache.

Parameters

string $regionName The name of the cache region.
QueryCacheKey $key The cache key of the query.

queryCacheHit(string $regionName, QueryCacheKey $key)

Log a query get from the query cache resulted in a hit.

Parameters

string $regionName The name of the cache region.
QueryCacheKey $key The cache key of the query.

queryCacheMiss(string $regionName, QueryCacheKey $key)

Log a query get from the query cache resulted in a miss.

Parameters

string $regionName The name of the cache region.
QueryCacheKey $key The cache key of the query.