Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

UpdateCap configuration


Two properties exist by default for any Module without having to be specified in the application configuration:
  • allServices.updateCap: the default property allowing to set an update cap in ms for all Services for a Module
  • publishServices.updateCap: the default property allowing to set an update cap in ms for publish Services for a Module.


These properties allow to reduce the frequency of service invocations for a Module. It can be useful for example when the framework is controlled by an external application through an Owner module, and the rate of invocations from the external application is too high.

If an invocation for a module which has this property is called, and the duration between this invocation and the last effective one is smaller than the specified update cap, the invocation will be called at the end of a timer set with the update cap value:
updatecap
For example:
      <properties>
         <application name="appli1" >
            <module name="module1" >
               <moduleProperty key="publishServices.updateCap" value="500" />
            </module>
         </application>
      </properties>

See also


Categories: config

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence