Packages

object TileWeighers

Collection of tile weighers for each tile type.

Each weigher estimates the in-memory size (in bytes) of a decoded tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

Using accurate weigher functions helps to optimize memory usage and maintain efficient cache behavior.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TileWeighers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. def edgeProperty(tile: EdgePropertyTile[Int]): Int

    Weigher for the Edge Property tile.

    Weigher for the Edge Property tile.

    Estimates the in-memory size (in bytes) of the given Edge Property tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

    tile

    The decoded Edge Property tile to estimate.

    returns

    Estimated size in bytes of the Edge Property tile.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def geometry(tile: GeometryTile): Int

    Weigher for the Geometry tile.

    Weigher for the Geometry tile.

    Estimates the in-memory size (in bytes) of the given Geometry tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

    tile

    The decoded Geometry tile to estimate.

    returns

    Estimated size in bytes of the Geometry tile.

  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mapping(tile: MappingTile): Int

    Weigher for the Mapping tile.

    Weigher for the Mapping tile.

    Estimates the in-memory size (in bytes) of the given Mapping tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

    tile

    The decoded Mapping tile to estimate.

    returns

    Estimated size in bytes of the Mapping tile.

  14. def multiProperty(tile: MultiPropertyTile): Int

    Weigher for the Multi Property tile.

    Weigher for the Multi Property tile.

    Estimates the in-memory size (in bytes) of the given Multi Property tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

    tile

    The decoded Multi Property tile to estimate.

    returns

    Estimated size in bytes of the Multi Property tile.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. def rangeBasedProperty(tile: RangeBasedPropertyTile[Int]): Int

    Weigher for the Range Based Property tile.

    Weigher for the Range Based Property tile.

    Estimates the in-memory size (in bytes) of the given Range Based Property tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

    tile

    The decoded Range Based Property tile to estimate.

    returns

    Estimated size in bytes of the Range Based Property tile.

  19. def routingGraph(tile: GraphTile): Int

    Weigher for the Graph tile.

    Weigher for the Graph tile.

    Estimates the in-memory size (in bytes) of the given Graph tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

    tile

    The decoded Graph tile to estimate.

    returns

    Estimated size in bytes of the Graph tile.

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def tmcTable(partition: TmcTablePartition): Int

    Weigher for the Tmc Table tile.

    Weigher for the Tmc Table tile.

    Estimates the in-memory size (in bytes) of the given Tmc Table tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

    partition

    The decoded Tmc Table tile to estimate.

    returns

    Estimated size in bytes of the Tmc Table tile.

  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def undirectedProperty(tile: UndirectedPropertyTile[Double]): Int

    Weigher for the Undirected Property tile.

    Weigher for the Undirected Property tile.

    Estimates the in-memory size (in bytes) of the given Undirected Property tile. Used by caching mechanisms to evaluate memory consumption and decide when to evict tiles based on cache constraints.

    tile

    The decoded Undirected Property tile to estimate.

    returns

    Estimated size in bytes of the Undirected Property tile.

  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped