Skip to main content

InMemoryFixedSizeConfig

This class represents a configuration for an in-memory fixed-size cache. It specifies the total size of the cache in bytes and the default expiration time for items stored within it.

Attributes

AttributeTypeDescription
Size*resource.QuantityCache size (in bytes) to allocate. Note the memory will be allocated immediately and will never grow or shrink (minimizing GCs).
DefaultExpirationconfig.DurationDefault expiration time for items.