AbstractAbstractcleanOptionalcloseOptionalconnectAbstractdecrementOptionalamount: numberAbstractdelAbstractexpireAbstractgetAbstractincrementOptionalamount: numberAbstractsetOptionalttlSec: numberAbstractttlProtected 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.
Abstract base class for key-value store adapters.
Provides static validation helpers. Subclasses implement the public methods directly and call the validators as needed.