Skip navigation links

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

B28401-02


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 getNumberOfLinkLevels()
           
 int getNumberOfPartitions(int linkLevel)
           
 LogicalPartition getPartition(int partitionId, int linkLevel)
          Retrieves the network partition from the cache.
 boolean isNetworkPartitioned(int linkLevel)
           
 boolean isNetworkPartitionedSet(int linkLevel)
           
 void setIsNetworkPartitioned(boolean isNetworkPartitioned, int linkLevel)
           
 void setNumberOfLinkLevels(int numLinkLevels)
           
 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

getNumberOfLinkLevels

public int getNumberOfLinkLevels()

setNumberOfLinkLevels

public void setNumberOfLinkLevels(int numLinkLevels)

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)

isNetworkPartitionedSet

public boolean isNetworkPartitionedSet(int linkLevel)

isNetworkPartitioned

public boolean isNetworkPartitioned(int linkLevel)

setIsNetworkPartitioned

public void setIsNetworkPartitioned(boolean isNetworkPartitioned,
                                    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-02


Copyright © 2007, 2008, Oracle. All Rights Reserved.