Forever
class Forever
Store an item in the cache indefinitely with all tag tracking.
Combines the ZADD operations for tag tracking with the SET for cache storage in a single connection checkout for efficiency.
Forever items use a score of -1 in the tag sorted sets, which prevents them from being cleaned by ZREMRANGEBYSCORE operations.
Constants
| private FOREVER_SCORE |
|
Methods
bool
execute(string $key, mixed $value, array $tagIds)
Execute the forever operation with tag tracking.
Details
at line 24
__construct(StoreContext $context, Serialization $serialization)
No description
at line 38
bool
execute(string $key, mixed $value, array $tagIds)
Execute the forever operation with tag tracking.