//Artefact:ModelClass/com/sphenon/modelling/xmodel/XMPerformance

Description

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMPerformance/ExpectedInstances

Description

The expected overall number of instances (system wide) for this class, i.e. the expected size of the "extent" of the class. Allows e.g. to distinguish between large amounts of life data and fix, small sets of configuration data.
The value is used to decide whether smart query result management (LRU query result sets with a data window) are required for a class, based upon a configurable threshold.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMPerformance/LiveQueryResultLevel

Description

Defines a level of expected instances that activates the live query result, which uses a LRU cache strategy internally. In addition to performance tuning this also might be used to always keep the persistence scope open (i.e. in JPA: attached to active session), by using the value '0' here.
Applies to
▸ Model level: ☑ logical model ∙ ☑ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMPerformance/PerformanceIndicators

Description

A list of PerformanceIndicator types to be registered for this class, e.g. "InstanceCounter", which counts the number of instances of this class in the database.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states

//Artefact:ModelAttribute/com/sphenon/modelling/xmodel/XMPerformance/LifeCycleCounters

Description

If true, counters of constructed, initialised, destroyed and finalised instances are maintained.
Applies to
▸ Model level: ☑ logical model ∙ ☐ technical model
▸ Model elements: ☐ packages ∙ ☑ classes ∙ ☐ attributes ∙ ☐ operations ∙ ☐ association ends ∙ ☐ states