Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make POJO Rules Stateless #71

Closed
Clayton7510 opened this issue Jun 12, 2017 · 0 comments
Closed

Make POJO Rules Stateless #71

Clayton7510 opened this issue Jun 12, 2017 · 0 comments
Milestone

Comments

@Clayton7510
Copy link
Collaborator

Thread safety in POJO RuleBooks requires different instances of RuleBooks per thread since state is stored in the Rules. This allows the interface to very intuitive. But unfortunately, it also means that each thread needs its own POJO RuleBook. I think the solution is to have Facts injected as parameters instead of instance variables.

@Clayton7510 Clayton7510 modified the milestone: Release 1.0 Jun 12, 2017
@Clayton7510 Clayton7510 modified the milestones: Release 0.7, Release 1.0 Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant