public class DefaultRuleEngineKieModuleSwapper extends java.lang.Object implements RuleEngineKieModuleSwapper
RuleEngineKieModuleSwapper interface| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
WORKER_PRE_DESTROY_TIMEOUT |
| Constructor and Description |
|---|
DefaultRuleEngineKieModuleSwapper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
activateKieModule(DroolsKIEModuleModel module)
Updates the instance of
DroolsKIEModuleModel with information about affectively deployed ReleaseId
version |
void |
addKieBase(KieModuleModel module,
DroolsKIEBaseModel base)
Adds new
KieBaseModel to a KieModuleModel with all rules |
void |
addKieBase(KieModuleModel module,
KieFileSystem kfs,
DroolsKIEBaseModel base,
KIEModuleCacheBuilder cache)
Adds new
KieBaseModel to a KieModuleModel with all rules |
void |
addKieSession(KieBaseModel base,
DroolsKIESessionModel session)
Adds instance of new
KieSessionModel to KieBaseModel |
protected ResultItem |
addNewResultItemOf(RuleEngineActionResult result,
MessageLevel messageLevel,
java.lang.String message) |
void |
addRules(KieFileSystem kfs,
DroolsKIEBaseModel base,
KIEModuleCacheBuilder cache)
Adds rules from a given
DroolsKIEBaseModel to KieFileSystem |
void |
addRulesToCache(DroolsKIEBaseModel base,
KIEModuleCacheBuilder cache)
Add cacheable data of rules of the latest versions belonging to the KieBase into the cache.
|
void |
beforeDestroy()
This method to be called by containers (like spring container) as destroy method
|
protected MemoryKieModule |
cloneForIncrementalCompilation(MemoryKieModule origKieModule,
ReleaseId releaseId,
KieModuleModel kModuleModel)
Method creates the clone of the
KieModule, having the specified ReleaseId. |
protected void |
completeWithFailure(ReleaseId releaseId,
RuleEngineActionResult result,
KieContainerListener listener) |
protected void |
copyChanges(MemoryKieModule trgKieModule,
MemoryKieModule srcKieModule) |
<any> |
createKieModule(DroolsKIEModuleModel module,
RuleEngineActionResult result)
Creates the new instance of
KieModule, based on information contained in DroolsKIEModuleModel |
protected <any> |
createKieModule(DroolsKIEModuleModel module,
RuleEngineActionResult result,
boolean enableIncrementalUpdate) |
protected void |
deleteRulesFromKieModule(MemoryKieModule kieModule,
java.util.Collection<DroolsRuleModel> rules)
Removes the specified collection of
DroolsRuleModel rules from KieModule |
protected java.util.List<KieBuilder> |
deployRules(DroolsKIEModuleModel module,
KieModuleModel kieModuleModel,
DroolsKIEBaseModel kieBase,
KIEModuleCacheBuilder cache) |
protected void |
deployRulesIncrementally(ReleaseId releaseId,
KieModuleModel kieModuleModel,
KieModule kieModule,
java.util.Collection<DroolsRuleModel> rulesToAdd,
java.util.Collection<DroolsRuleModel> rulesToRemove,
RuleEngineActionResult result)
Deploy incrementally the rule engine updates.
|
protected <R extends D,D extends AbstractRuleEngineRuleModel> |
filterByBiggestVersion(java.util.Collection<D> rulesForVersion) |
protected ConcurrentMapFactory |
getConcurrentMapFactory() |
protected ConfigurationService |
getConfigurationService() |
protected ContentMatchRulesFilter |
getContentMatchRulesFilter() |
protected Tenant |
getCurrentTenant() |
java.util.Optional<ReleaseId> |
getDeployedReleaseId(DroolsKIEModuleModel module,
java.lang.String deployedMvnVersion)
Returns (optional)
ReleaseId for a deployed version of the KieModuleModel |
protected EngineRuleDao |
getEngineRuleDao() |
protected IncrementalRuleEngineUpdateStrategy |
getIncrementalRuleEngineUpdateStrategy() |
protected InitializeMode |
getInitializeMode(ExecutionContext executionContext) |
protected KieModuleService |
getKieModuleService() |
protected KieServices |
getKieServices() |
protected ModelService |
getModelService() |
protected java.lang.String |
getNextWorkerName() |
ReleaseId |
getReleaseId(DroolsKIEModuleModel module)
Creates the new instance of
ReleaseId based on DroolsKIEModuleModel |
protected RuleEngineBootstrap<KieServices,KieContainer,DroolsKIEModuleModel> |
getRuleEngineBootstrap() |
protected RuleEngineCacheService |
getRuleEngineCacheService() |
protected RulePublishingSpliterator |
getRulePublishingSpliterator() |
protected RulesModuleDao |
getRulesModuleDao() |
protected SuspendResumeTaskManager |
getSuspendResumeTaskManager() |
protected java.util.concurrent.ThreadFactory |
getTenantAwareThreadFactory() |
protected long |
getWorkerPreDestroyTimeout() |
KieContainer |
initializeNewKieContainer(DroolsKIEModuleModel module,
KieModule kieModule,
RuleEngineActionResult result)
Creates the new instance of
KieContainer for a given KieModule |
protected void |
initializeNewModule(DroolsKIEModuleModel module,
KieContainerListener listener,
boolean enableIncrementalUpdates,
RuleEngineActionResult result) |
protected boolean |
isInitialEngineStartup(ReleaseId releaseId,
java.lang.String newDeployedMvnVersion) |
protected boolean |
isRuleValid(AbstractRuleEngineRuleModel rule) |
protected void |
mergeFileSystemToKieModule(MemoryKieModule partialKieModule,
MemoryFileSystem mainMemoryFileSystem) |
protected KieModule |
mergePartialKieModules(ReleaseId releaseId,
KieModuleModel kieModuleModel,
KieModule partialKieModule) |
protected KieModule |
mergePartialKieModules(ReleaseId releaseId,
KieModuleModel kieModuleModel,
java.util.List<KieBuilder> kieBuilders) |
protected void |
newKieModule(DroolsKIEModuleModel module,
KieContainerListener listener,
boolean enableIncrementalUpdates,
RuleEngineActionResult result) |
protected java.lang.Object |
onSwapFailed(java.lang.Throwable t,
RuleEngineActionResult result,
java.util.function.Supplier<java.lang.Object> resetFlagSupplier) |
protected java.util.Optional<<any>> |
prepareIncrementalUpdate(ReleaseId releaseId,
DroolsKIEBaseModel kieBase)
Given the
ReleaseId of the deployed KieModule the method returns the tuple consisting of rules to
add/update
and rules to delete. |
protected void |
registerWorker(java.lang.String moduleName,
java.lang.Thread worker) |
boolean |
removeKieModuleIfPresent(ReleaseId releaseId,
RuleEngineActionResult result)
Tries to remove the
KieModule with given ReleaseId from org.kie.api.builder.KieRepository |
boolean |
removeOldKieModuleIfPresent(RuleEngineActionResult result)
Tries to remove the old
KieModule from org.kie.api.builder.KieRepository |
protected boolean |
restoreKieModule(DroolsKIEModuleModel module,
KieContainerListener listener,
RuleEngineActionResult result) |
void |
setConcurrentMapFactory(ConcurrentMapFactory concurrentMapFactory) |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setContentMatchRulesFilter(ContentMatchRulesFilter contentMatchRulesFilter) |
void |
setCurrentTenant(Tenant currentTenant) |
void |
setEngineRuleDao(EngineRuleDao engineRuleDao) |
void |
setIncrementalRuleEngineUpdateStrategy(IncrementalRuleEngineUpdateStrategy incrementalRuleEngineUpdateStrategy) |
void |
setKieModuleService(KieModuleService kieModuleService) |
protected void |
setKieServices(KieServices kieServices) |
void |
setModelService(ModelService modelService) |
void |
setRuleEngineBootstrap(RuleEngineBootstrap<KieServices,KieContainer,DroolsKIEModuleModel> ruleEngineBootstrap) |
void |
setRuleEngineCacheService(RuleEngineCacheService ruleEngineCacheService) |
void |
setRulePublishingSpliterator(RulePublishingSpliterator rulePublishingSpliterator) |
void |
setRulesModuleDao(RulesModuleDao rulesModuleDao) |
void |
setSuspendResumeTaskManager(SuspendResumeTaskManager suspendResumeTaskManager) |
void |
setTenantAwareThreadFactory(java.util.concurrent.ThreadFactory tenantAwareThreadFactory) |
void |
setup() |
void |
setUpKieServices()
Initializes the
org.kie.api.KieServices instance |
java.util.List<java.lang.Object> |
switchKieModule(DroolsKIEModuleModel module,
KieContainerListener listener,
java.util.LinkedList<java.util.function.Supplier<java.lang.Object>> postTaskList,
boolean enableIncrementalUpdate,
RuleEngineActionResult result)
Swaps synchroneously to a new KieModule.
|
void |
switchKieModuleAsync(java.lang.String moduleName,
KieContainerListener listener,
java.util.List<java.lang.Object> resultsAccumulator,
java.util.function.Supplier<java.lang.Object> resetFlagSupplier,
java.util.List<java.util.function.Supplier<java.lang.Object>> postTaskList,
boolean enableIncrementalUpdate,
RuleEngineActionResult result)
Swaps asynchroneously to a new KieModule.
|
protected java.lang.Runnable |
switchKieModuleRunnableTask(java.lang.String moduleName,
KieContainerListener listener,
java.util.List<java.lang.Object> resultsAccumulator,
java.util.function.Supplier<java.lang.Object> resetFlagSupplier,
java.util.List<java.util.function.Supplier<java.lang.Object>> postTaskList,
boolean enableIncrementalUpdate,
RuleEngineActionResult result) |
protected void |
verifyErrors(RuleEngineActionResult result,
java.util.List<Message> messages) |
void |
waitForSwappingToFinish()
Block until the whole swapping task/tasks are finished
|
protected void |
waitForSwappingToFinish(java.lang.String moduleName) |
protected void |
waitWhileWorkerIsRunning(java.lang.Thread worker) |
void |
writeKModuleXML(KieModuleModel module,
KieFileSystem kfs)
Creates the XML representation of
KieModuleModel and writes it to KieFileSystem |
void |
writePomXML(DroolsKIEModuleModel module,
KieFileSystem kfs)
Write the building POM XML to
KieFileSystem |
protected void |
writeRulesToKieFileSystem(KieFileSystem kfs,
java.util.Collection<DroolsRuleModel> rules) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertLevel, getEqualityBehaviorOption, getEventProcessingOption, getSessionTypepublic static final java.lang.String WORKER_PRE_DESTROY_TIMEOUT
public java.util.List<java.lang.Object> switchKieModule(DroolsKIEModuleModel module, KieContainerListener listener, java.util.LinkedList<java.util.function.Supplier<java.lang.Object>> postTaskList, boolean enableIncrementalUpdate, RuleEngineActionResult result)
RuleEngineKieModuleSwapperswitchKieModule in interface RuleEngineKieModuleSwappermodule - instance of the AbstractRulesModuleModel modulelistener - instance of KieContainerListener that fires when the switch of Kie Container is completepostTaskList - chain of post-task operations incapsulated as a linked list of Supplier instancesenableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleresult - instance of RuleEngineActionResult to be used in cluster nodes notificationpublic void switchKieModuleAsync(java.lang.String moduleName,
KieContainerListener listener,
java.util.List<java.lang.Object> resultsAccumulator,
java.util.function.Supplier<java.lang.Object> resetFlagSupplier,
java.util.List<java.util.function.Supplier<java.lang.Object>> postTaskList,
boolean enableIncrementalUpdate,
RuleEngineActionResult result)
RuleEngineKieModuleSwapperswitchKieModuleAsync in interface RuleEngineKieModuleSwappermoduleName - kie module namelistener - instance of KieContainerListener that fires when the switch of Kie Container is completeresultsAccumulator - the list that will contain the method execution results including the post-tasksresetFlagSupplier - the task to perform after the sync call finishes the task (whether it was successfull or not )postTaskList - chain of post-task operations incapsulated as a linked list of Supplier instancesenableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleresult - instance of RuleEngineActionResult to be used in cluster nodes notificationpublic void waitForSwappingToFinish()
RuleEngineKieModuleSwapperwaitForSwappingToFinish in interface RuleEngineKieModuleSwapperprotected void waitForSwappingToFinish(java.lang.String moduleName)
protected java.lang.String getNextWorkerName()
protected void waitWhileWorkerIsRunning(java.lang.Thread worker)
public void beforeDestroy()
public void writeKModuleXML(KieModuleModel module,
KieFileSystem kfs)
RuleEngineKieModuleSwapperKieModuleModel and writes it to KieFileSystemwriteKModuleXML in interface RuleEngineKieModuleSwappermodule - instance of KieModuleModelkfs - instance of KieFileSystempublic void writePomXML(DroolsKIEModuleModel module, KieFileSystem kfs)
RuleEngineKieModuleSwapperKieFileSystemwritePomXML in interface RuleEngineKieModuleSwappermodule - instance of DroolsKIEModuleModel to be used for ReleaseId creationkfs - instance of KieFileSystempublic ReleaseId getReleaseId(DroolsKIEModuleModel module)
RuleEngineKieModuleSwapperReleaseId based on DroolsKIEModuleModelgetReleaseId in interface RuleEngineKieModuleSwappermodule - instance of DroolsKIEModuleModelReleaseIdpublic <any> createKieModule(DroolsKIEModuleModel module, RuleEngineActionResult result)
RuleEngineKieModuleSwapperKieModule, based on information contained in DroolsKIEModuleModelcreateKieModule in interface RuleEngineKieModuleSwappermodule - instance of DroolsKIEModuleModelresult - instance of RuleEngineActionResult to be used in cluster nodes notificationKieModule and the corresponding caching structure for the
created moduleprotected <any> createKieModule(DroolsKIEModuleModel module, RuleEngineActionResult result, boolean enableIncrementalUpdate)
protected void copyChanges(MemoryKieModule trgKieModule,
MemoryKieModule srcKieModule)
protected MemoryKieModule cloneForIncrementalCompilation(MemoryKieModule origKieModule,
ReleaseId releaseId,
KieModuleModel kModuleModel)
KieModule, having the specified ReleaseId. It creates the new instance of
MemoryKieModule with given ReleaseId, KieModuleModel and new instance of MemoryFileSystem,
copying from original KieModule all the relevant information (including file system content). (The #clone.mark(); is used to reset the map of modified files since last mark).origKieModule - The instance of MemoryKieModule to clonereleaseId - The new ReleaseId for a clone MemoryKieModulekModuleModel - instance of new KieModuleModel for a clone KieModuleMemoryKieModule with given ReleaseIdprotected java.util.Optional<<any>> prepareIncrementalUpdate(ReleaseId releaseId,
DroolsKIEBaseModel kieBase)
ReleaseId of the deployed KieModule the method returns the tuple consisting of rules to
add/update
and rules to delete. Before returning the tuple the method applies the strategy to decide whether the incremental update is
applicable. If it is not applicable the empty Optional is returnedreleaseId - ReleaseId of the currently deployed kie modulekieBase - DroolsKIEBaseModel containing the set of rules to deployPair containing the rules to add/update (left-hand-side) and the rules to delete (right-hand-side)protected void deployRulesIncrementally(ReleaseId releaseId,
KieModuleModel kieModuleModel,
KieModule kieModule,
java.util.Collection<DroolsRuleModel> rulesToAdd,
java.util.Collection<DroolsRuleModel> rulesToRemove,
RuleEngineActionResult result)
ReleaseId, new KieModuleModel, the clone
MemoryKieModule and based on the collections of rules to add/update and delete, applies the incremental rule engine
updates.
In order to add/update the rule engine the new instance of KieBuilder is created. After the proper KieBuilderSet with updates is created, the KieBuilderSet.#build() method is called. if the update was successful,
the updated information is copied from "incremental" KieModule to the clone KieModule (method copyChanges(MemoryKieModule, MemoryKieModule))releaseId - new ReleaseIdkieModuleModel - new KieModuleModelkieModule - clone KieModulerulesToAdd - a collection of DroolsRuleModel rules to add/updaterulesToRemove - a collection of DroolsRuleModel rules to removeresult - instance of RuleEngineActionResult accumulating the results of deployprotected void verifyErrors(RuleEngineActionResult result, java.util.List<Message> messages)
protected KieModule mergePartialKieModules(ReleaseId releaseId,
KieModuleModel kieModuleModel,
KieModule partialKieModule)
protected void mergeFileSystemToKieModule(MemoryKieModule partialKieModule,
MemoryFileSystem mainMemoryFileSystem)
protected KieModule mergePartialKieModules(ReleaseId releaseId,
KieModuleModel kieModuleModel,
java.util.List<KieBuilder> kieBuilders)
public void addKieBase(KieModuleModel module,
KieFileSystem kfs,
DroolsKIEBaseModel base,
KIEModuleCacheBuilder cache)
RuleEngineKieModuleSwapperKieBaseModel to a KieModuleModel with all rulesaddKieBase in interface RuleEngineKieModuleSwappermodule - instance of KieModuleModel to add the KieBaseModel tokfs - instance of KieFileSystembase - instance of DroolsKIEBaseModel that keeps the information for a KieBaseModel to be
createdcache - the caching structure for the module being initializedpublic void addKieBase(KieModuleModel module,
DroolsKIEBaseModel base)
RuleEngineKieModuleSwapperKieBaseModel to a KieModuleModel with all rulesaddKieBase in interface RuleEngineKieModuleSwappermodule - instance of KieModuleModel to add the KieBaseModel tobase - instance of DroolsKIEBaseModel that keeps the information for a KieBaseModel to be
createdpublic void addKieSession(KieBaseModel base,
DroolsKIESessionModel session)
RuleEngineKieModuleSwapperKieSessionModel to KieBaseModeladdKieSession in interface RuleEngineKieModuleSwapperbase - instance of KieBaseModelsession - instance of DroolsKIESessionModel containing the information for new KieSessionModelpublic java.lang.String activateKieModule(DroolsKIEModuleModel module)
RuleEngineKieModuleSwapperDroolsKIEModuleModel with information about affectively deployed ReleaseId
versionactivateKieModule in interface RuleEngineKieModuleSwappermodule - instance of DroolsKIEModuleModelReleaseIdpublic boolean removeKieModuleIfPresent(ReleaseId releaseId,
RuleEngineActionResult result)
RuleEngineKieModuleSwapperKieModule with given ReleaseId from org.kie.api.builder.KieRepositoryremoveKieModuleIfPresent in interface RuleEngineKieModuleSwapperreleaseId - the instance of ReleaseId corresponding to a KieModule to be removedresult - instance of RuleEngineActionResult to be used in cluster nodes notification
removalpublic boolean removeOldKieModuleIfPresent(RuleEngineActionResult result)
RuleEngineKieModuleSwapperKieModule from org.kie.api.builder.KieRepositoryremoveOldKieModuleIfPresent in interface RuleEngineKieModuleSwapperresult - instance of RuleEngineActionResult to be used in cluster nodes notification
removalpublic void addRules(KieFileSystem kfs,
DroolsKIEBaseModel base,
KIEModuleCacheBuilder cache)
RuleEngineKieModuleSwapperDroolsKIEBaseModel to KieFileSystemaddRules in interface RuleEngineKieModuleSwapperkfs - instance of KieFileSystembase - instance of DroolsKIEBaseModel containing the reference to the rules to publishcache - the caching structure for the module being initializedprotected <R extends D,D extends AbstractRuleEngineRuleModel> java.util.Set<R> filterByBiggestVersion(java.util.Collection<D> rulesForVersion)
protected boolean isRuleValid(AbstractRuleEngineRuleModel rule)
protected void writeRulesToKieFileSystem(KieFileSystem kfs,
java.util.Collection<DroolsRuleModel> rules)
protected void deleteRulesFromKieModule(MemoryKieModule kieModule,
java.util.Collection<DroolsRuleModel> rules)
DroolsRuleModel rules from KieModulekieModule - the instance of clone KieModule to remove rules fromrules - Collection of DroolsRuleModel rules to deletepublic java.util.Optional<ReleaseId> getDeployedReleaseId(DroolsKIEModuleModel module, java.lang.String deployedMvnVersion)
RuleEngineKieModuleSwapperReleaseId for a deployed version of the KieModuleModelgetDeployedReleaseId in interface RuleEngineKieModuleSwappermodule - instance of DroolsKIEModuleModeldeployedMvnVersion - currently deployed releaseId version of the Kie Module, if knownOptional.of(ReleaseId) if the ReleaseId could be created,
Optional.empty() otherwisepublic void setUpKieServices()
RuleEngineKieModuleSwapperorg.kie.api.KieServices instancesetUpKieServices in interface RuleEngineKieModuleSwapper@PostConstruct public void setup()
protected java.util.List<KieBuilder> deployRules(DroolsKIEModuleModel module, KieModuleModel kieModuleModel, DroolsKIEBaseModel kieBase, KIEModuleCacheBuilder cache)
public KieContainer initializeNewKieContainer(DroolsKIEModuleModel module, KieModule kieModule, RuleEngineActionResult result)
RuleEngineKieModuleSwapperKieContainer for a given KieModuleinitializeNewKieContainer in interface RuleEngineKieModuleSwappermodule - instance of DroolsKIEModuleModelkieModule - instance of KieModuleresult - instance of RuleEngineActionResult to be used in cluster nodes notificationKieContainer instanceprotected void initializeNewModule(DroolsKIEModuleModel module, KieContainerListener listener, boolean enableIncrementalUpdates, RuleEngineActionResult result)
protected InitializeMode getInitializeMode(ExecutionContext executionContext)
protected boolean restoreKieModule(DroolsKIEModuleModel module, KieContainerListener listener, RuleEngineActionResult result)
protected void newKieModule(DroolsKIEModuleModel module, KieContainerListener listener, boolean enableIncrementalUpdates, RuleEngineActionResult result)
public void addRulesToCache(DroolsKIEBaseModel base, KIEModuleCacheBuilder cache)
RuleEngineKieModuleSwapperaddRulesToCache in interface RuleEngineKieModuleSwapperbase - KieBase of the rules to be processedcache - CacheBuilder to cache rule dataprotected void completeWithFailure(ReleaseId releaseId,
RuleEngineActionResult result,
KieContainerListener listener)
protected ResultItem addNewResultItemOf(RuleEngineActionResult result, MessageLevel messageLevel, java.lang.String message)
protected void registerWorker(java.lang.String moduleName,
java.lang.Thread worker)
protected java.lang.Runnable switchKieModuleRunnableTask(java.lang.String moduleName,
KieContainerListener listener,
java.util.List<java.lang.Object> resultsAccumulator,
java.util.function.Supplier<java.lang.Object> resetFlagSupplier,
java.util.List<java.util.function.Supplier<java.lang.Object>> postTaskList,
boolean enableIncrementalUpdate,
RuleEngineActionResult result)
protected java.lang.Object onSwapFailed(java.lang.Throwable t,
RuleEngineActionResult result,
java.util.function.Supplier<java.lang.Object> resetFlagSupplier)
protected boolean isInitialEngineStartup(ReleaseId releaseId,
java.lang.String newDeployedMvnVersion)
protected KieServices getKieServices()
protected void setKieServices(KieServices kieServices)
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
protected Tenant getCurrentTenant()
public void setCurrentTenant(Tenant currentTenant)
protected java.util.concurrent.ThreadFactory getTenantAwareThreadFactory()
public void setTenantAwareThreadFactory(java.util.concurrent.ThreadFactory tenantAwareThreadFactory)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected RuleEngineCacheService getRuleEngineCacheService()
public void setRuleEngineCacheService(RuleEngineCacheService ruleEngineCacheService)
protected RulesModuleDao getRulesModuleDao()
public void setRulesModuleDao(RulesModuleDao rulesModuleDao)
protected ConcurrentMapFactory getConcurrentMapFactory()
public void setConcurrentMapFactory(ConcurrentMapFactory concurrentMapFactory)
protected RulePublishingSpliterator getRulePublishingSpliterator()
public void setRulePublishingSpliterator(RulePublishingSpliterator rulePublishingSpliterator)
protected ContentMatchRulesFilter getContentMatchRulesFilter()
public void setContentMatchRulesFilter(ContentMatchRulesFilter contentMatchRulesFilter)
protected IncrementalRuleEngineUpdateStrategy getIncrementalRuleEngineUpdateStrategy()
public void setIncrementalRuleEngineUpdateStrategy(IncrementalRuleEngineUpdateStrategy incrementalRuleEngineUpdateStrategy)
protected RuleEngineBootstrap<KieServices,KieContainer,DroolsKIEModuleModel> getRuleEngineBootstrap()
public void setRuleEngineBootstrap(RuleEngineBootstrap<KieServices,KieContainer,DroolsKIEModuleModel> ruleEngineBootstrap)
protected long getWorkerPreDestroyTimeout()
protected SuspendResumeTaskManager getSuspendResumeTaskManager()
public void setSuspendResumeTaskManager(SuspendResumeTaskManager suspendResumeTaskManager)
protected KieModuleService getKieModuleService()
public void setKieModuleService(KieModuleService kieModuleService)
protected EngineRuleDao getEngineRuleDao()
public void setEngineRuleDao(EngineRuleDao engineRuleDao)
Copyright © 2018 SAP SE. All Rights Reserved.