avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vorác Jirí <Vo...@webcom.cz>
Subject Do I need object pool ?
Date Mon, 01 Oct 2001 10:29:15 GMT
Hi,

I have class providing one method (not synchronized).
Method does not change any class variables, it only reads them.
Class variables are initialized in constructor, so this instance
has fixed configuration.

My question is: Can I call these methods from more
	threads concurrently or should I use object pool for every
configuration?
in other words: Could there be problem, if I use only one instance for one
configuration?

Maybe you can explain me what is advantage or necessity using object
pooling.

Thanks in advance

Jirka
---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.281 / Virová báze: 149 - datum vydání: 18.9. 2001


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


Mime
View raw message