PDA

View Full Version : [Mondrian] RolapStar ThreadLocal's not static



Richard Emberson
04-05-2007, 10:10 AM
Just a question, why are the two ThreadLocal's in the
RolapStar class not static variables? Currently,
each RolapStar instance gets its own ThreadLocal
instance variables which is ..., well, I guess, I don't
understand why.

Richard


--
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

Pappyn Bart
04-05-2007, 10:20 AM
The data is meant to be visible to the rolap star only, it should not be
shared among all stars.

It are multiple threads having their own data for a particular star.

Bart


-----Original Message-----
From: mondrian-bounces (AT) pentaho (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org]
On Behalf Of Richard Emberson
Sent: donderdag 5 april 2007 16:11
To: Mondrian developer mailing list
Subject: [Mondrian] RolapStar ThreadLocal's not static


Just a question, why are the two ThreadLocal's in the RolapStar class
not static variables? Currently, each RolapStar instance gets its own
ThreadLocal instance variables which is ..., well, I guess, I don't
understand why.

Richard


--
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

______________________________________________________________________
This email has been scanned by the Email Security System.
______________________________________________________________________
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian

Richard Emberson
04-05-2007, 10:20 AM
Thanks - BitKeys are not unique globally, I forgot.

Richard


Pappyn Bart wrote:
> The data is meant to be visible to the rolap star only, it should not be
> shared among all stars.
>
> It are multiple threads having their own data for a particular star.
>
> Bart
>
>
> -----Original Message-----
> From: mondrian-bounces (AT) pentaho (DOT) org [mailto:mondrian-bounces (AT) pentaho (DOT) org]
> On Behalf Of Richard Emberson
> Sent: donderdag 5 april 2007 16:11
> To: Mondrian developer mailing list
> Subject: [Mondrian] RolapStar ThreadLocal's not static
>
>
> Just a question, why are the two ThreadLocal's in the RolapStar class
> not static variables? Currently, each RolapStar instance gets its own
> ThreadLocal instance variables which is ..., well, I guess, I don't
> understand why.
>
> Richard
>
>
> --
> Quis custodiet ipsos custodes:
> This email message is for the sole use of the intended recipient(s) and
> may contain confidential information. Any unauthorized review, use,
> disclosure or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all
> copies of the original message.
> _______________________________________________
> Mondrian mailing list
> Mondrian (AT) pentaho (DOT) org
> http://lists.pentaho.org/mailman/listinfo/mondrian
>
> ______________________________________________________________________
> This email has been scanned by the Email Security System.
> ______________________________________________________________________
> _______________________________________________
> Mondrian mailing list
> Mondrian (AT) pentaho (DOT) org
> http://lists.pentaho.org/mailman/listinfo/mondrian
>


--
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.
_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian