Class DefaultRuleEngineSpliteratorStrategy
java.lang.Object
de.hybris.platform.ruleengine.concurrency.impl.DefaultRuleEngineSpliteratorStrategy
- All Implemented Interfaces:
RuleEngineSpliteratorStrategy
public class DefaultRuleEngineSpliteratorStrategy
extends Object
implements RuleEngineSpliteratorStrategy
Default implementation for the
RuleEngineSpliteratorStrategy-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationServiceintget the number of threads to be allocated for spliteratorvoidsetConfigurationService(ConfigurationService configurationService)
-
Field Details
-
FIXED_NO_OF_THREADS
- See Also:
-
-
Constructor Details
-
DefaultRuleEngineSpliteratorStrategy
public DefaultRuleEngineSpliteratorStrategy()
-
-
Method Details
-
getNumberOfThreads
public int getNumberOfThreads()Description copied from interface:RuleEngineSpliteratorStrategyget the number of threads to be allocated for spliterator- Specified by:
getNumberOfThreadsin interfaceRuleEngineSpliteratorStrategy- Returns:
- number of threads to allocate
-
getConfigurationService
-
setConfigurationService
-