Put
class Put
Store an item in the cache with all tag tracking.
Combines the ZADD operations for tag tracking with the SETEX for cache storage in a single connection checkout for efficiency.
Each tag maintains a sorted set where:
- Members are cache keys (namespaced)
- Scores are TTL timestamps (when the entry expires)
Methods
bool
execute(string $key, mixed $value, int $seconds, array $tagIds)
Execute the put operation with tag tracking.
Details
at line 25
__construct(StoreContext $context, Serialization $serialization)
No description
at line 40
bool
execute(string $key, mixed $value, int $seconds, array $tagIds)
Execute the put operation with tag tracking.