I didn't originally plan for the behaviour you describe, however it does make sense. Perhaps you might try patching the existing LRUMap with a boolean flag to enable this 'scan' behaviour.
Stephen From: "Mario Ivankovits" <[EMAIL PROTECTED]> > The problem i have is: > If i add an entry to the lrumap which is locked, it blocks all other > entries too - even if they are not blocked. > > I think LRUMap.addMapping should scan until it finds an removeable entry: > > >The protected restriction on the LinkEntry fields is another problem fixed > >in CVS - see the entryAfter() and entryBefore() methods. > > > > > Ah - thanks. Maybe i could implement this behaviour in my subclass. > > However - i thought the LRUMap should hold all "LRU" and "Blocked" > entries - and remove any other entry. > > e.g. size = 2 > add blocked A > add B > add C > > the result should be > A > C --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
