TimestampQueryCacheValidator
in package
implements
QueryCacheValidator
Interfaces, Classes, Traits and Enums
- QueryCacheValidator
- Cache query validator interface.
Table of Contents
- $timestampRegion : TimestampRegion
- __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
Return values
mixed —isValid()
Checks if the query entry is valid
public
isValid(QueryCacheKey $key, QueryCacheEntry $entry) : bool
Parameters
- $key : QueryCacheKey
- $entry : QueryCacheEntry
Return values
bool —regionUpdated()
private
regionUpdated(QueryCacheKey $key, QueryCacheEntry $entry) : bool
Parameters
- $key : QueryCacheKey
- $entry : QueryCacheEntry