class AllTagOperations

Methods

__construct(StoreContext $context, Serialization $serialization)

Create a new all-tag operations instance.

Put
put()

Get the Put operation for storing items with tag tracking.

putMany()

Get the PutMany operation for storing multiple items with tag tracking.

Add
add()

Get the Add operation for storing items if they don't exist.

forever()

Get the Forever operation for storing items indefinitely with tag tracking.

touch()

Get the Touch operation for adjusting tagged item expiration.

increment()

Get the Increment operation for incrementing values with tag tracking.

decrement()

Get the Decrement operation for decrementing values with tag tracking.

addEntry()

Get the AddEntry operation for adding cache key references to tag sorted sets.

getEntries()

Get the GetEntries operation for retrieving cache keys from tag sorted sets.

flushStale()

Get the FlushStale operation for removing expired entries from tag sorted sets.

flush()

Get the Flush operation for removing all items with specified tags.

prune()

Get the Prune operation for removing stale entries from all tag sorted sets.

Details

at line 53
__construct(StoreContext $context, Serialization $serialization)

Create a new all-tag operations instance.

Parameters

StoreContext $context
Serialization $serialization

at line 62
Put put()

Get the Put operation for storing items with tag tracking.

Return Value

Put

at line 70
PutMany putMany()

Get the PutMany operation for storing multiple items with tag tracking.

Return Value

PutMany

at line 78
Add add()

Get the Add operation for storing items if they don't exist.

Return Value

Add

at line 86
Forever forever()

Get the Forever operation for storing items indefinitely with tag tracking.

Return Value

Forever

at line 94
Touch touch()

Get the Touch operation for adjusting tagged item expiration.

Return Value

Touch

at line 102
Increment increment()

Get the Increment operation for incrementing values with tag tracking.

Return Value

Increment

at line 110
Decrement decrement()

Get the Decrement operation for decrementing values with tag tracking.

Return Value

Decrement

at line 122
AddEntry addEntry()

Get the AddEntry operation for adding cache key references to tag sorted sets.

Not currently called internally — the combined operation classes (Put, Forever, Increment, etc.) handle tag tracking inline for single-checkout pool efficiency. Kept for Laravel RedisTagSet API parity.

Return Value

AddEntry

at line 130
GetEntries getEntries()

Get the GetEntries operation for retrieving cache keys from tag sorted sets.

Return Value

GetEntries

at line 138
FlushStale flushStale()

Get the FlushStale operation for removing expired entries from tag sorted sets.

Return Value

FlushStale

at line 146
Flush flush()

Get the Flush operation for removing all items with specified tags.

Return Value

Flush

at line 157
Prune prune()

Get the Prune operation for removing stale entries from all tag sorted sets.

This discovers all tag:*:entries keys via SCAN and removes entries with expired TTL scores, then deletes empty sorted sets.

Return Value

Prune