Documentation

CacheLoggerChain
in package
implements CacheLogger

Table of Contents

Interfaces

CacheLogger
Interface for logging.

Properties

$loggers  : array<string, CacheLogger>

Methods

collectionCacheHit()  : void
Log an entity get from second level cache resulted in a hit.
collectionCacheMiss()  : void
Log an entity get from second level cache resulted in a miss.
collectionCachePut()  : void
Log an entity put into second level cache.
entityCacheHit()  : void
Log an entity get from second level cache resulted in a hit.
entityCacheMiss()  : void
Log an entity get from second level cache resulted in a miss.
entityCachePut()  : void
Log an entity put into second level cache.
getLogger()  : CacheLogger|null
getLoggers()  : array<string, CacheLogger>
queryCacheHit()  : void
Log a query get from the query cache resulted in a hit.
queryCacheMiss()  : void
Log a query get from the query cache resulted in a miss.
queryCachePut()  : void
Log a query put into the query cache.
setLogger()  : void

Properties

Methods

collectionCacheHit()

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

public collectionCacheHit(mixed $regionName, CollectionCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : CollectionCacheKey

The cache key of the collection.

collectionCacheMiss()

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

public collectionCacheMiss(mixed $regionName, CollectionCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : CollectionCacheKey

The cache key of the collection.

collectionCachePut()

Log an entity put into second level cache.

public collectionCachePut(mixed $regionName, CollectionCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : CollectionCacheKey

The cache key of the collection.

entityCacheHit()

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

public entityCacheHit(mixed $regionName, EntityCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : EntityCacheKey

The cache key of the entity.

entityCacheMiss()

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

public entityCacheMiss(mixed $regionName, EntityCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : EntityCacheKey

The cache key of the entity.

entityCachePut()

Log an entity put into second level cache.

public entityCachePut(mixed $regionName, EntityCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : EntityCacheKey

The cache key of the entity.

queryCacheHit()

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

public queryCacheHit(mixed $regionName, QueryCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : QueryCacheKey

The cache key of the query.

queryCacheMiss()

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

public queryCacheMiss(mixed $regionName, QueryCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : QueryCacheKey

The cache key of the query.

queryCachePut()

Log a query put into the query cache.

public queryCachePut(mixed $regionName, QueryCacheKey $key) : void
Parameters
$regionName : mixed

The name of the cache region.

$key : QueryCacheKey

The cache key of the query.


        
On this page

Search results