For an application that is enabled with pureQuery client optimization, pureQuery Runtime checks the location specified by the finalRepositoryProperties property. If the location is a repository created in a database, pureQuery Runtime checks the active runtime group version for the runtime group specified by the propertiesGroupId property.
This property can take the following values:
After you activate a runtime group version in the repository, pureQuery Runtime checks for updates to the pureQuery information in that runtime group version. By default, pureQuery Runtime checks the status of runtime groups once every two minutes. The pureQuery runtime property runtimeGroupActivationCheckInterval controls the duration between checks.
You can activate a runtime group version with the ManageRepository utility option -activate runtimeGroup or from IBM® Data Studio.
The propertiesRefreshInterval property is ignored when using pureQuery enabled applications with the inline methods or annotated methods.
After pureQuery Runtime retrieves pureQuery data, pureQuery updates SQL statements in an application server statement cache as required. Existing SQL statements from the application server statement cache are re-prepared when it is safe to do so. Typically, a statement can be re-prepare when the cached statement is in the same state as the state of a newly created statement.
The pureQuery Runtime properties runtimeGroupActivationCheckInterval and propertiesRefreshInterval control the automatic refresh of pureQuery information for runtime group versions. The property runtimeGroupActivationCheckInterval controls when pureQuery Runtime checks for activated runtime group versions. runtimeGroupActivationCheckInterval must be set so that it applies to all pureQuery Runtime instances that run in a JVM.
To control the automatic refresh for multiple pureQuery applications that run in a single JVM, you set the value of the runtimeGroupActivationCheckInterval property to control the majority of the refresh activity. You set the value propertiesRefreshInterval for specific applications that have special refresh requirements.
Checking for updates to pureQuery runtime properties or pureQueryXML data is disabled when the cmx.controllerDiscoveryInterval property is set to -2. Setting the property to -2 disables automatic discovery for InfoSphere® Optim™ Performance Manager Extended Insight.