You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Eickvonder Bjoern <Ei...@inside-online.de> on 2006/09/04 07:20:27 UTC

[Jexl] Are jexl Expression threadsafe and reusable?

Hello,

does anyone know if I can safely cache jexl Expression objects in order
to reuse them? Moreover are these expressions threadsafe, such that
multiple threads can use a single expression object at the same time?

Bjoern Eickvonder 

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail bzw. Inhalte 
hieraus ist nicht gestattet.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [Jexl] Are jexl Expression threadsafe and reusable?

Posted by Dion Gillard <di...@gmail.com>.
There's no guarantee they are thread safe, and specifically using the
same context across threads is definitely NOT thread safe.

On 9/4/06, Eickvonder Bjoern <Ei...@inside-online.de> wrote:
> Hello,
>
> does anyone know if I can safely cache jexl Expression objects in order
> to reuse them? Moreover are these expressions threadsafe, such that
> multiple threads can use a single expression object at the same time?
>
> Bjoern Eickvonder
>
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail bzw. Inhalte
> hieraus ist nicht gestattet.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


-- 
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org