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.
- Alphabetic
- By Inheritance
- TileWeighers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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.
-
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.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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.
-
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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated