class CacheLoggerChain implements CacheLogger (View source)

Cache logger chain

Methods

setLogger(string $name, CacheLogger $logger)

No description

getLogger(string $name)

No description

CacheLogger>
getLoggers()

No description

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.

collectionCachePut(string $regionName, CollectionCacheKey $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.

entityCachePut(string $regionName, EntityCacheKey $key)

Log an entity put into second level 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.

queryCachePut(string $regionName, QueryCacheKey $key)

Log a query put into the query cache.

Details

setLogger(string $name, CacheLogger $logger)

Parameters

string $name
CacheLogger $logger

CacheLogger|null getLogger(string $name)

Parameters

string $name

Return Value

CacheLogger|null

CacheLogger> getLoggers()

Return Value

CacheLogger>

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.

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.

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.

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.

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.

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.