AnyTagOperations
class AnyTagOperations
Methods
Create a new any-tag operations instance.
Get the GetTaggedKeys operation for retrieving keys associated with a tag.
Get the GetTagItems operation for retrieving key-value pairs for tags.
Details
at line 54
__construct(StoreContext $context, Serialization $serialization)
Create a new any-tag operations instance.
at line 63
Put
put()
Get the Put operation for storing items with tags.
at line 71
PutMany
putMany()
Get the PutMany operation for storing multiple items with tags.
at line 79
Add
add()
Get the Add operation for storing items if they don't exist.
at line 87
Forever
forever()
Get the Forever operation for storing items indefinitely with tags.
at line 95
Touch
touch()
Get the Touch operation for adjusting item expiration and tag metadata.
at line 103
Forget
forget()
Get the Forget operation for deleting items and tag metadata.
at line 111
Increment
increment()
Get the Increment operation for incrementing values with tags.
at line 119
Decrement
decrement()
Get the Decrement operation for decrementing values with tags.
at line 127
GetTaggedKeys
getTaggedKeys()
Get the GetTaggedKeys operation for retrieving keys associated with a tag.
at line 135
GetTagItems
getTagItems()
Get the GetTagItems operation for retrieving key-value pairs for tags.
at line 147
Flush
flush()
Get the Flush operation for removing all items with specified tags.
at line 158
Prune
prune()
Get the Prune operation for removing orphaned fields from tag hashes.
This removes expired tags from the registry, scans active tag hashes for fields referencing deleted cache keys, and deletes empty hashes.