james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Burrell Donkin <robertburrelldon...@gmail.com>
Subject [jsieve] Caching Manager Implementations?
Date Tue, 04 Aug 2009 12:52:06 GMT
ATM ComparatorManagerImpl, CommandManagerImpl and TestManagerImpl
create new instances each time that their factory methods are called.
this leads to lots of classes being created by reflection and then
discarded. this seems a little inefficient. i was wondering about
caching and reusing the instances (probably by a caching decorator).
this would mean that the instances would need to be safe for use by
multiple threads.

opinions?

- robert

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


Mime
View raw message