class Flush

Constants

private CHUNK_SIZE

Methods

__construct(StoreContext $context, GetEntries $getEntries)

Create a new flush operation instance.

void
execute(array $tagIds)

Flush all cache entries for the given tags.

string
flushChunkScript()

Atomically delete scanned values and memberships, preserving concurrent additions.

Details

at line 17
__construct(StoreContext $context, GetEntries $getEntries)

Create a new flush operation instance.

Parameters

StoreContext $context
GetEntries $getEntries

at line 28
void execute(array $tagIds)

Flush all cache entries for the given tags.

Parameters

array $tagIds

Array of tag identifiers (e.g., "_all:tag:users:entries")

Return Value

void

at line 68
protected string flushChunkScript()

Atomically delete scanned values and memberships, preserving concurrent additions.

Return Value

string