OK, by default we have a cache
TileCache cache = JAI.getDefaultInstance().getTileCache();
Is it pure FIFO logic?
The TileCache interface doesn't dictate what the strategy is; that
depends on the implementation. I've always been under the impression
that the default implementation did a LRU algorithm, but I can't swear
to that (if I looked it up in the past, I forgot ;-) ). Best bet if
you need to know would be to look at the source for the implementation
(assuming the javadocs don't tell you).
A better strategy might try to predict what will be needed next based on
proximity to what's currently being used... but that may be more trouble
that it's worth.
On 11/17/11 12:39 AM, firstname.lastname@example.org wrote:
> OK, by default we have a cache
> TileCache cache = JAI.getDefaultInstance().getTileCache();
> Is it pure FIFO logic?
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.