On 31/12/2013, glambert27 <glambe2(a)hotmail.com> wrote:
The number of facts will varying between 70-90K so i'm not sure displaying
the number of facts to be inserted would be a good option.
No, unless you know, beforehand, how many there will be.
As for the event
listeners where can I find good docs on implementing?
It's not difficult. There's a couple of session methods:
addEventListener(..) and you just implement the various After*Event
and Before*Event methods on the object you want to register as an
My biggest concern is
that rules once activated take quite some before the next rule is
Not clear what you mean here. If you insert one fact at a time and
fireAllRules(), you won't have anything to display to the user. On the
other hand, if you collect, say 1000 facts, insert them all and then
fire all rules, you can show progress during insertion, and you can
show progress while rules fire.
Thus the status bar can potentially show 20% one sec then stay there
some time then jump to 70%.
This would not happen during the scenario I've outlined before unless
rule executions change a lot - but then it's hopeless anyway.
Not a good indication of work being taking
but if that's all I have I'll work with it.
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com
rules-users mailing list