Documentation

CacheLogger

Interface for logging.

Table of Contents

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.
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.

Methods

collectionCacheHit()

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

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

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(string $regionName, CollectionCacheKey $key) : void
Parameters
$regionName : string

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(string $regionName, CollectionCacheKey $key) : void
Parameters
$regionName : string

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(string $regionName, EntityCacheKey $key) : void
Parameters
$regionName : string

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(string $regionName, EntityCacheKey $key) : void
Parameters
$regionName : string

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(string $regionName, EntityCacheKey $key) : void
Parameters
$regionName : string

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(string $regionName, QueryCacheKey $key) : void
Parameters
$regionName : string

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(string $regionName, QueryCacheKey $key) : void
Parameters
$regionName : string

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(string $regionName, QueryCacheKey $key) : void
Parameters
$regionName : string

The name of the cache region.

$key : QueryCacheKey

The cache key of the query.


        
On this page

Search results