Class DefaultRuleEngineSpliteratorStrategy
- java.lang.Object
-
- de.hybris.platform.ruleengine.concurrency.impl.DefaultRuleEngineSpliteratorStrategy
-
- All Implemented Interfaces:
RuleEngineSpliteratorStrategy
public class DefaultRuleEngineSpliteratorStrategy extends java.lang.Object implements RuleEngineSpliteratorStrategy
Default implementation for theRuleEngineSpliteratorStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringFIXED_NO_OF_THREADS
-
Constructor Summary
Constructors Constructor Description DefaultRuleEngineSpliteratorStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationServicegetConfigurationService()intgetNumberOfThreads()get the number of threads to be allocated for spliteratorvoidsetConfigurationService(ConfigurationService configurationService)
-
-
-
Field Detail
-
FIXED_NO_OF_THREADS
protected static final java.lang.String FIXED_NO_OF_THREADS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-