final class atoti.AggregateCache
Aggregate cache of aCube.
Example
capacity : int
The capacity of the cache.- If greater than
0, this value corresponds to the maximum amount of{location: measure}pairs that the cache can hold. - If
0, caching is disabled but sharing stays enabled: concurrent queries will share their computed aggregates, but the aggregates will not be stored to be reused in later queries.
measures : Set[HasIdentifier[MeasureIdentifier] | MeasureIdentifier] | None = None
The measures to cache. This should typically be the measures that are known to be the most expensive to compute. IfNone, all measures will be cached.