Brightspot CMS Developer Guide

Recalculation tasks


Dari includes RecalculationTask, a repeating task that periodically updates indexed methods that are annotated with @Recordable.Recalculate.

RecalculationTask can be configured with the following option, shown as a name-value pair in the Tomcat context.xml file:

<Environment name="dari/recalculationTaskHost" value="{host-address}" type="java.lang.String" />

Key: dari/recalculationTaskHost
Type: java.lang.String

The IP or name of the host on which the RecalculationTask is running. If this option is set, then Dari checks that the address of the host on which the task is running matches the {host-address} value. If you do not want RecalculationTask to run, set {host-address} to a dummy value such as 1.1.1.1.

Previous Topic
Repeating tasks
Next Topic
Queue processing
Was this topic helpful?
Thanks for your feedback.
The elements that get you up and running in a matter of days, from pre-built content types, to modules, to landing pages.

Content types
Modules
Landing pages
Everything you need to manage and administer content within Brightspot CMS, including plug-and-play integrations.

Dashboards
Authoring content
Workflows
Admin configurations
A guide for installing, supporting and administering code on the Brightspot platform, including integrations requiring developer support to use.

Field types
Content modeling
Rich-text elements
Images