commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [collections] I can not decipher the meaning of scanUntilRemovable variable in LRUMap
Date Sun, 26 Dec 2010 02:41:41 GMT
On Mon, Dec 20, 2010 at 11:21 AM, Rami Ojares <rami.ojares@archon.fi> wrote:

> The subject says it all.
> Anyone know what is the meaning of this?
>
> Sorry for the slow response.  See the javadoc for the removeLRU method.
This property has no effect in LRUMap itself, but if a subclass overrides
removeLRU to make some entries not removable, then if scanUntilRemovable is
true, addMapping will scan until if finds a removable element rather than
just trying the LRU entry.

Phil


> - rami
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message