public class DefaultCommerceRuleEngineCacheService extends DefaultRuleEngineCacheService
| Constructor and Description |
|---|
DefaultCommerceRuleEngineCacheService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCache(KIEModuleCacheBuilder cacheBuilder)
adds the cached entities of the given cache builder to the global caching structure.
|
protected CommerceRuleEngineCache |
getCommerceRuleEngineCache() |
protected java.util.Set<java.lang.Object> |
getOrCreateFacts(RuleEvaluationContext context) |
void |
provideCachedEntities(RuleEvaluationContext context)
is invoked during
DefaultPlatformRuleEngineService.evaluate(de.hybris.platform.ruleengine.RuleEvaluationContext) and adds
any cached entities (such as globals or facts) to the given context. |
void |
setCommerceRuleEngineCache(CommerceRuleEngineCache factTemplateCache) |
createKIEModuleCacheBuilder, getRuleEngineCache, setRuleEngineCachepublic DefaultCommerceRuleEngineCacheService()
public void addToCache(KIEModuleCacheBuilder cacheBuilder)
RuleEngineCacheServiceaddToCache in interface RuleEngineCacheServiceaddToCache in class DefaultRuleEngineCacheServicecacheBuilder - the cache builder to usepublic void provideCachedEntities(RuleEvaluationContext context)
RuleEngineCacheServiceDefaultPlatformRuleEngineService.evaluate(de.hybris.platform.ruleengine.RuleEvaluationContext) and adds
any cached entities (such as globals or facts) to the given context.provideCachedEntities in interface RuleEngineCacheServiceprovideCachedEntities in class DefaultRuleEngineCacheServicecontext - the context object to enhance with factsprotected java.util.Set<java.lang.Object> getOrCreateFacts(RuleEvaluationContext context)
protected CommerceRuleEngineCache getCommerceRuleEngineCache()
public void setCommerceRuleEngineCache(CommerceRuleEngineCache factTemplateCache)
Copyright © 2018 SAP SE. All Rights Reserved.