[hibernate-dev] [infinispan-dev] [ISPN-6] (Infinispan cache provider for Hibernate) Remaining TODOs, notes and questions
Chris Bredesen
cbredesen at redhat.com
Wed Aug 5 13:04:31 EDT 2009
On 08/05/2009 12:52 PM, Brian Stansberry wrote:
> Semi-tangent: in general I really dislike if people have to configure
> JBC/Infinispan to get standard behaviors (e.g. eviction). Much better if
> people can use the standard configuration mechanism of whatever service
> is using JBC/Infinispan, and only touch JBC/Infinispan configs for
> exotic stuff. So, for example, web session passivation is configured via
> jboss-web.xml, not via a JBC eviction region.
>
> If the properties needed to configure 2nd Level Cache eviction could be
> reduced to 2 or 3, being able to express them via the SessionFactory
> config would be nice, e.g.
>
> hibernate.cache.infinispan.Users.max_age=5000
>
> Perhaps just support LRU that way; if people want exotic stuff beyond
> LRU they have to go to the Infinispan config.
Abso-freakin-lutely. Love this idea.
-CB
More information about the hibernate-dev
mailing list