InMemoryFixedSizeConfig
This class represents an in-memory fixed-size configuration, similar to ristretto.Config, but adapted for use in configuration files by removing function references. It defines parameters for cache size and default item expiration.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Size | *resource.Quantity | Cache size (in bytes) to allocate. Note the memory will be allocated immediately and will never grow or shrink (minimizing GCs). |
| DefaultExpiration | config.Duration | Default expiration time for items. |