|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.spatial.network.lod.LRUCachingHandler
public class LRUCachingHandler
This class implements the Least Recently Used (LRU) caching handler.
Constructor Summary | |
---|---|
LRUCachingHandler() |
Method Summary | |
---|---|
int[] |
getPartitionsToFlushOut(java.util.HashSet<java.lang.Integer> residentPartitions) Retruns the IDs of the partitions to be flushed out. |
void |
updateRank(LogicalPartition partition) Updates the rank of the partition in the cache. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LRUCachingHandler()
Method Detail |
---|
public int[] getPartitionsToFlushOut(java.util.HashSet<java.lang.Integer> residentPartitions)
CachingHandler
getPartitionsToFlushOut
in interface CachingHandler
residentPartitions
- resident partitions, which are the partitions to be excluded from the returned list.public void updateRank(LogicalPartition partition)
CachingHandler
updateRank
in interface CachingHandler
partition
- the partition object whose rank is to be updated
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |