# CacheObjectTypeSettingsType (Complex Type)

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

Settings for a given cache and object type(s). Not all items are applicable for each cache.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
objectType | property QName | [0,-1] | Object type(s) to which this settings are to be applied.
timeToLive | property int | [0,1] | How long (in seconds) should given object type(s) live in the cache.
timeToVersionCheck | property int | [0,1] | How long could an object live in the cache without checking its version (in seconds).
traceMiss | property boolean | [0,1] | Whether to trace cache "miss" events.
tracePass | property boolean | [0,1] | Whether to trace cache "pass" events.
statistics | container CacheStatisticsReportingConfigurationType | [0,1] | How detailed statistics are provided for this object type in this cache.
invalidation | container CacheInvalidationConfigurationType | [0,1] | How is the cache invalidated?

- ### Items

  - #### objectType

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Object type(s) to which this settings are to be applied. If not specified, these apply either to all object types currently supported by the cache. (If this configuration is appending to a previous one, this affects all object types configured in that configuration. If this configuration is the first one, then this affects all object types supported by default by given cache.)

  - #### timeToLive

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How long (in seconds) should given object type(s) live in the cache. The default is the same as timeToLive for the cache itself. This is currently supported only for global objects and queries cache.

  - #### timeToVersionCheck

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How long could an object live in the cache without checking its version (in seconds). This is currently supported only for global objects cache.

  - #### traceMiss

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether to trace cache "miss" events.

  - #### tracePass

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether to trace cache "pass" events.

  - #### statistics

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How detailed statistics are provided for this object type in this cache.

  - #### invalidation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How is the cache invalidated?