This is an old revision of the document!


Configure the Stages Server

CMS Prefetch Configuration

The CMS prefetch is a Stages system service. It ensures that Stages displays up to date information of documents that are managed by an external configuration management system (CMS). Therefore the CMS prefetch is scheduled periodically to retrieve the latest revision information for all documents of active projects.

Note: All changes of the configuration described in this document require a restart of the Stages service.

Configuration of the CMS Prefetch

The default configuration of the CMS prefetch is found in <font inherit/Courier New,Courier,monospace;;inherit;;inherit><PKITHOME>/WEB-INF/conf/PKitConfig.xml</font> file:

<pkit-config>
 <properties>

 <property name="cms.prefetch.activated" value="true"/>
 <property name="cms.cache.refreshIntervalInMinutes" value="60"/>
 <property name="cms.prefetch.sleepMillisBetweenDocuments" value="0"/>
 <property name="cms.prefetch.workersCount" value="1"/>
 <property name="cms.prefetch.strategy.class"
 value="de.methodpark.pkit.cms.prefetch.ClassicAllDocumentsStrategy"/>
 </properties>
 <cms> ... </cms>
</pkit-config>

A more detailed description of these properties can be found in the following table:

Property Description
cms.prefetch.activated
  \\ Default = true \\

|

cms.cache.refreshIntervalInMinutes
  \\ Default = 60 \\

|

cms.cache. lastAccessIntervalForActiveProjectsInDays
  \\ Default = 4 \\

|

cms.prefetch.sleepMillisBetweenDocuments
  \\ Default = 0 \\

|

cms.prefetch.workersCount
  \\ Default = 1 \\

|

cms.prefetch.strategy.class
  \\ Default: de.methodpark.pkit.cms. prefetch.ClassicAllDocumentsStrategy \\

|

cms.prefetch.maxParallelTasks.<CMSType>
  \\ Default = 1 \\

|

cms.prefetch.initialStart.hourOfDay
  \\ Default: <not set; start immediately>  \\
  \\   \\

|