|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
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.Collection<java.lang.Integer> residentPartitions, int minNumNodesToFlushOut) 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.Collection<java.lang.Integer> residentPartitions, int minNumNodesToFlushOut) throws LODNetworkException
CachingHandler
getPartitionsToFlushOut
in interface CachingHandler
residentPartitions
- resident partitions, which are the partitions to be excluded from the returned list.LODNetworkException
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 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |