OptionalcleanupIntervalMs: numberOptionalmaxSize: numberOptionalcloseOptionalconnectProtected Static_Validates an increment/decrement amount and throws an exception if it's invalid.
The amount to validate.
(Exception) - If the amount is invalid.
Protected Static_Validates a key string and throws an exception if it's invalid.
The key to validate.
(Exception) - If the key is invalid.
Protected Static_Validates a TTL value and throws an exception if it's invalid.
The TTL value to validate.
(Exception) - If the TTL is invalid.
In-memory key-value store adapter with automatic cleanup of expired entries.
Provides a memory-based implementation of KvStore with TTL support and automatic background cleanup of expired entries.