TimestampQueryCacheValidator
in package
implements
QueryCacheValidator
Table of Contents
Interfaces
- QueryCacheValidator
- Cache query validator interface.
Properties
Methods
- __construct() : mixed
- isValid() : bool
- Checks if the query entry is valid
- regionUpdated() : bool
Properties
$timestampRegion
private
TimestampRegion
$timestampRegion
Methods
__construct()
public
__construct(TimestampRegion $timestampRegion) : mixed
Parameters
- $timestampRegion : TimestampRegion
isValid()
Checks if the query entry is valid
public
isValid(QueryCacheKey $key, QueryCacheEntry $entry) : bool
Parameters
- $key : QueryCacheKey
- $entry : QueryCacheEntry
Return values
boolregionUpdated()
private
regionUpdated(QueryCacheKey $key, QueryCacheEntry $entry) : bool
Parameters
- $key : QueryCacheKey
- $entry : QueryCacheEntry