AbstractOptionalserde: SerializerProtocolThe serializer to use.
AbstractclearDelete the cached values for the given namespaces. If no namespaces are provided, clear all cached values.
The namespaces to clear.
AbstractgetGet the cached values for the given keys.
The keys to get.
AbstractsetSet the cached values for the given keys and TTLs.
The pairs to set.
Initialize the cache with a serializer.