CacheLogger
in
Interface for logging.
Table of Contents
- collectionCacheHit() : mixed
- Log an entity get from second level cache resulted in a hit.
- collectionCacheMiss() : mixed
- Log an entity get from second level cache resulted in a miss.
- collectionCachePut() : mixed
- Log an entity put into second level cache.
- entityCacheHit() : mixed
- Log an entity get from second level cache resulted in a hit.
- entityCacheMiss() : mixed
- Log an entity get from second level cache resulted in a miss.
- entityCachePut() : mixed
- Log an entity put into second level cache.
- queryCacheHit() : mixed
- Log a query get from the query cache resulted in a hit.
- queryCacheMiss() : mixed
- Log a query get from the query cache resulted in a miss.
- queryCachePut() : mixed
- Log a query put into the query cache.
Methods
collectionCacheHit()
Log an entity get from second level cache resulted in a hit.
public
collectionCacheHit(string $regionName, CollectionCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : CollectionCacheKey
-
The cache key of the collection.
Return values
mixed —collectionCacheMiss()
Log an entity get from second level cache resulted in a miss.
public
collectionCacheMiss(string $regionName, CollectionCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : CollectionCacheKey
-
The cache key of the collection.
Return values
mixed —collectionCachePut()
Log an entity put into second level cache.
public
collectionCachePut(string $regionName, CollectionCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : CollectionCacheKey
-
The cache key of the collection.
Return values
mixed —entityCacheHit()
Log an entity get from second level cache resulted in a hit.
public
entityCacheHit(string $regionName, EntityCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : EntityCacheKey
-
The cache key of the entity.
Return values
mixed —entityCacheMiss()
Log an entity get from second level cache resulted in a miss.
public
entityCacheMiss(string $regionName, EntityCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : EntityCacheKey
-
The cache key of the entity.
Return values
mixed —entityCachePut()
Log an entity put into second level cache.
public
entityCachePut(string $regionName, EntityCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : EntityCacheKey
-
The cache key of the entity.
Return values
mixed —queryCacheHit()
Log a query get from the query cache resulted in a hit.
public
queryCacheHit(string $regionName, QueryCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : QueryCacheKey
-
The cache key of the query.
Return values
mixed —queryCacheMiss()
Log a query get from the query cache resulted in a miss.
public
queryCacheMiss(string $regionName, QueryCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : QueryCacheKey
-
The cache key of the query.
Return values
mixed —queryCachePut()
Log a query put into the query cache.
public
queryCachePut(string $regionName, QueryCacheKey $key) : mixed
Parameters
- $regionName : string
-
The name of the cache region.
- $key : QueryCacheKey
-
The cache key of the query.