Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)
B28401-01


oracle.spatial.network.lod
Class LeveledNetworkCache

java.lang.Object
  extended by oracle.spatial.network.lod.LeveledNetworkCache


public class LeveledNetworkCache
extends java.lang.Object

An instance of this class contains the cache for all link leveles of a network.

Since:
11gR1

Method Summary
 void clear()
          Clears network cache for all link levels.
 void clear(int linkLevel)
          Clears network cache for the specified link level.
 void flushPartition(int partitionId, int linkLevel)
           
 int getNumberOfPartitions(int linkLevel)
           
 LogicalPartition getPartition(int partitionId, int linkLevel)
          Retrieves the network partition from the cache.
 void setPartition(int partitionId, LogicalPartition partition, int linkLevel)
          Adds a network partition to the cache.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

setPartition

public void setPartition(int partitionId,
                         LogicalPartition partition,
                         int linkLevel)
                  throws LODNetworkException
Adds a network partition to the cache.
Parameters:
partitionId -
partition -
Throws:
LODNetworkException

getPartition

public LogicalPartition getPartition(int partitionId,
                                     int linkLevel)
Retrieves the network partition from the cache.
Parameters:
partitionId - partition ID
linkLevel - link level
Returns:
partition

getNumberOfPartitions

public int getNumberOfPartitions(int linkLevel)

flushPartition

public void flushPartition(int partitionId,
                           int linkLevel)

clear

public void clear(int linkLevel)
Clears network cache for the specified link level.
Parameters:
linkLevel - link level

clear

public void clear()
Clears network cache for all link levels.

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)
B28401-01


Copyright © 2007, Oracle. All Rights Reserved.