Class CacheControllerImpl

java.lang.Object
com.beassolution.rule.components.impl.CacheControllerImpl
All Implemented Interfaces:
CacheController

@Component public class CacheControllerImpl extends Object implements CacheController
Implementation of cache controller for the Beas Rule Engine.

This class provides the implementation for cache synchronization operations in the rule engine. It coordinates the refresh of all caches including rules, functions, and helpers based on the configured container name.

Key features include:

  • Complete cache synchronization
  • Container-based filtering
  • Asynchronous operation support
  • Comprehensive logging
Since:
1.0
Version:
1.0
Author:
Beas Solution Team
  • Constructor Details

    • CacheControllerImpl

      public CacheControllerImpl()
  • Method Details

    • syncCache

      public void syncCache()
      Synchronizes all rule engine caches.

      This method performs a complete refresh of all caches in the rule engine. It loads entities from the database based on the configured container name and updates the respective caches through the rule engine manager.

      Specified by:
      syncCache in interface CacheController