OptionalproviderId: TCacheProviderOptionalcandidate: AccessCandidateDelete a value from the cache
The key to delete
Check if a key exists in the cache
The key to check
true if the key exists
Get a value from the cache
The key to retrieve
The value associated with the key
Get the remaining TTL for a key
The key to check
The remaining TTL in seconds
ProtectedinitProtectedinitSet a value in the cache
The key to set
The data to store
Optionalttl: numberOptional Time To Live in seconds
true if successful
Update the TTL for a key
The key to update
Optionalttl: numberNew Time To Live in seconds
Base class for all SDK objects.
This class provides a base implementation for all SDK objects. It handles event emission, promise management, and initialization.
This object is used to ensure that an SRE instance is initialized, and if not, create one with default settings.