Interact Design Time data cache

Interact Design Time builds an in-memory data cache for each partition that contains all offers, offer lists, offer attributes and segments.

When users work with User Interface, Interact loads data from this cache rather than accessing database each time. This cache is being built during Interact Design Time application initialization, and then is refreshed (reloaded from the database) every 10 minutes by default in a background thread.

When you add or update offers, offer lists, or segments, and immediately access the Strategy tab, you may not find the updated data.

You can click the "Refresh session cache" button in the Summary tab of Interactive Channel to refreshes the cache on-demand and the data changes you made is immediately visible on screen.

You can also change cache refresh interval to your preference by JVM parameter com.unicacorp.interact.cacheRefreshIntervalInMin.

Currently, the data cache mechanisim is used in User Interface of Strategies, FlexOffer, and Triggered Actions.

In version 12.1.5, a property defaultUser is added under node Affinium|InteractDT|partitions|<partitionName>|Interact.

Its value is the username of Platform user that is used for loading the global data cache. Therefore, this user should have read access to segments, offers, and their related objects. There is no default value for this property. If it is left unconfigured, the first user opening Interact pages will be considered as the user to load the data cache.