You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Robert Burrell Donkin <ro...@gmail.com> on 2009/08/04 14:52:06 UTC

[jsieve] Caching Manager Implementations?

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