# CollectionStatsType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Stats (statistics) setting and entries. This contains stats entries for collections. Simply speaking, it contains data about number of objects in collection.

While counting collections is usually quite easy, we do not want to do that every millisecond. Therefore we count the collection and keep the data in this structure for a while. The data may not necessarily be persistent. This may be purely virtual data that never get stored in the repository. Ot it may be cached data. Or some combination. We also may want to store historical data about the collection for informational purposes.

EXPERIMENTAL. Do not rely on this data structure.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
statEntry | container IntegerStatType | [0,1] | Stat (statistic) entry.

- ### Items

  - #### statEntry

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Stat (statistic) entry. This entry contains stat value, together with domain value. The purpose is that both absolute values and percentages can be determined.

    Single-valued now. This represents the latest known value. Will be changed to multi-valued later. Multi-valued stat entries may contain historical values for informational purposes, e.g. displaying "trends" in widgets and reports.