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

Darran Lofthouse darran.lofthouse at jboss.com
Tue Sep 6 09:40:57 EDT 2011


On 09/06/2011 02:32 PM, Sanne Grinovero wrote:
> 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.

Thanks Sanne, that is probably not going to meet what I need - one thing 
I am looking at is better tracking of failed authentication attempts so 
I wouldn't want someone to be able to force an item out by causing 
additional entries to be added.

> Sanne


More information about the jboss-as7-dev mailing list