The CacheConfig that governs this provider's TTL policy and
invalidation behaviour. Assigned by ClientBuilder after construction.
Defaults to CacheConfig.defaults so providers remain usable in tests
without a full application wiring.
Stores all entries from object. The optional ttl applies uniformly
to every entry; pass null to let the TTL policy decide per key,
Duration.zero for no expiry.