On 31/12/2013, glambert27 <glambe2(a)hotmail.com> wrote:
Hi Laune,
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
event.
My biggest concern is
that rules once activated take quite some before the next rule is
activated.
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
for
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.
-W
Not a good indication of work being taking
place
but if that's all I have I'll work with it.
--
View this message in context:
http://drools.46999.n3.nabble.com/Running-Feedback-during-drools-run-tp40...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users