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

Previous Topic
Repeating tasks
Next Topic
Queue processing
Was this topic helpful?
Thanks for your feedback.
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Content types
Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Apple News