On Oct 6, 2011, at 11:10 AM, Luc Boudreau wrote:

> http://p4web.eigenbase.org/@md=d&c=6PU@/14671?ac=10
>
> Change 14671 by lucboudreau (AT) luc-mondrian-3 (DOT) 2 on 2011/10/06 11:08:28
>
> MONDRIAN: Makes the RolapResultShepherd more thread and adds a shutdown hook so that any running SQL statements get canceled explicitely when the JVM gets a shutdown signal.


Still think that RolapResultShepherd shouldn't be a Timer?

Also on the subject of more-threads-than-necessary. How about replacing CombiningGenerator with something based on a simple iterator. You can generate a power-set of N elements by generating the integers from 0 to 2^N - 1 and, for each integer, converting the bits into a set. For example given the set {a, b, c}, 0 is {}, 1 is {a}, 2 is {b}, 3 is {a, b}, 4 is {c}, etc. I'll push that in if you don't object.

Also, I'm working on http://jira.pentaho.com/browse/MONDRIAN-998. I'm using log4j to send events of interest, and have an actor object that maintains counters, reads events from log4j, and also responds to requests for dumps of the internal state. It's looking pretty nice.

It will all go in post-3.3. I don't want to de-stabilize anything.

Julian

_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian