Interface KIEModuleCacheBuilder
-
- All Known Implementing Classes:
DefaultCommerceKIEModuleCacheBuilder,DefaultKIEModuleCacheBuilder
public interface KIEModuleCacheBuilderThe KIEModuleCacheBuilder builds up the cached entities for a singleAbstractRulesModuleModel. The cache builder is created during rule module initialization (seeRuleEngineService.initialize(AbstractRulesModuleModel, String, boolean, boolean, RuleEngineActionResult)) and stores 'cache-able' entities (i.e. facts, globals etc.) of all rules that have been processed by the cache builder (seeprocessRule(AbstractRuleEngineRuleModel)). Once rule module initialization finishes, the cache built up cache is added to the global cache (seeRuleEngineCacheService.addToCache(KIEModuleCacheBuilder)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends AbstractRuleEngineRuleModel>
voidprocessRule(T rule)processes the given rule by adding it's cache-able data (e.g.
-
-
-
Method Detail
-
processRule
<T extends AbstractRuleEngineRuleModel> void processRule(T rule)
processes the given rule by adding it's cache-able data (e.g. it's globals and "static" facts) to its internal caching structures.- Parameters:
rule- the rule for which to add the cache-able data
-
-