HashFieldExpirationCheck
final class HashFieldExpirationCheck implements EnvironmentCheckInterface
Checks that hash-field expiration commands are available.
Any tag mode depends on Redis/Valkey hash-field expiration commands: HSETEX for tagged writes and HEXPIRE when plain touch updates tagged keys.
For all mode, this check is skipped (hash-field expiration is not needed).
Methods
__construct(RedisConnection $redis, string $taggingMode)
Create a new hash-field expiration check instance.
string
name()
Get the human-readable name of this check.
run()
Run the check and return results.
string|null
getFixInstructions()
Get details about how to fix a failed check.
Details
at line 26
__construct(RedisConnection $redis, string $taggingMode)
Create a new hash-field expiration check instance.
at line 35
string
name()
Get the human-readable name of this check.
at line 43
CheckResult
run()
Run the check and return results.
at line 78
string|null
getFixInstructions()
Get details about how to fix a failed check.