Flush
class Flush
Flush scanned tag members without deleting concurrently added memberships.
Skips reading reverse index and cross-tag cleanup. Orphaned hash fields are left for the scheduled cleanup command to remove later.
Constants
| private CHUNK_SIZE |
|
Methods
__construct(StoreContext $context, GetTaggedKeys $getTaggedKeys, RemoveEmptyTags $removeEmptyTags)
Create a new flush operation instance.
bool
execute(array $tags)
Execute the lazy flush.
string
flushChunkScript()
Remove only scanned fields, their reverse indexes and values atomically.
Details
at line 23
__construct(StoreContext $context, GetTaggedKeys $getTaggedKeys, RemoveEmptyTags $removeEmptyTags)
Create a new flush operation instance.
at line 36
bool
execute(array $tags)
Execute the lazy flush.
at line 108
protected string
flushChunkScript()
Remove only scanned fields, their reverse indexes and values atomically.