ModelCacheStoreValidator
class ModelCacheStoreValidator
Methods
void
void
validateAnyModeTags(Repository $repository, string $feature)
Validate that the store supports plain-key reads with any-mode tags.
Details
at line 18
__construct(RedisConfig $redisConfig)
Create a model cache store validator.
at line 28
void
validate(Repository $repository, string $feature)
Validate that the store can safely cache models.
at line 43
void
validateAnyModeTags(Repository $repository, string $feature)
Validate that the store supports plain-key reads with any-mode tags.
Any-mode tags index plain cache keys without changing their storage keys. Model caches can therefore keep direct reads and per-key invalidation on the plain repository while tagged writes maintain their indexes.