[jboss-as7-dev] A simple timed cache?

Sanne Grinovero sanne at hibernate.org
Tue Sep 6 09:32:38 EDT 2011


On 6 September 2011 03:05, Jason Greene <jgreene at redhat.com> wrote:
> Two options:
>
> 1) CHM + Reaper thread (we have something like this in msc)
>
> 2) copy infinispan's LIRS map

Infinispan's LIRS is not easy to extract out, you'll have to make
significant changes; maybe you could depend on Infinispan core?

Depending on your needs it might not suite you: LIRS provides a
bounded container, so it might drop some values even if the timeout
was not reached.

Sanne


More information about the jboss-as7-dev mailing list