|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-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.HashSet<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.HashSet<java.lang.Integer> residentPartitions,
int minNumNodesToFlushOut)
throws LODNetworkException
CachingHandlergetPartitionsToFlushOut in interface CachingHandlerresidentPartitions - resident partitions, which are the partitions to be excluded from the returned list.LODNetworkExceptionpublic void updateRank(LogicalPartition partition)
CachingHandlerupdateRank in interface CachingHandlerpartition - the partition object whose rank is to be updated
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||