com.here.platform.location.integration.optimizedmap.dcl2.OptimizedMapCatalogDsl
CanSetExternalCaches
abstract class CanSetExternalCaches extends CanSetCacheSizesAndAttributes
- Alphabetic
- By Inheritance
- CanSetExternalCaches
- CanSetCacheSizesAndAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CanSetExternalCaches(hrn: HRN, dataApiAdapter: DataApiAdapter)
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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copy(hrn: HRN = this.hrn, dataApiAdapter: DataApiAdapter = this.dataApiAdapter, maxBlobCacheSizeBytes: Long = this.maxBlobCacheSizeBytes, maxMetadataCacheEntryCount: Option[Long] = this.maxMetadataCacheEntryCount, adasAttributes: Seq[AdasAttributeDescription with AttributeDescription] = this.adasAttributes, roadAttributes: Seq[RoadAttributeDescription with AttributeDescription] = this.roadAttributes, navigationAttributes: Seq[NavigationAttributeDescription with AttributeDescription] = this.navigationAttributes, advancedNavigationAttributes: Seq[AdvancedNavigationAttributeDescription with AttributeDescription] = this.advancedNavigationAttributes, topologyAttributes: Seq[TopologyAttributeDescription with AttributeDescription] = this.topologyAttributes): CanSetCacheSizesAndAttributes
- Attributes
- protected
- Definition Classes
- CanSetCacheSizesAndAttributes
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newInstance: OptimizedMapCatalog
Creates a new
OptimizedMapCatalogwith creating internal caches with given or default sizes.Creates a new
OptimizedMapCatalogwith creating internal caches with given or default sizes.- Definition Classes
- CanSetCacheSizesAndAttributes
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAdasAttributes(adasAttributes: AdasAttributeDescription with AttributeDescription*): CanSetCacheSizesAndAttributes
Configures the list of ADAS attributes to retain in memory after downloading a partition of the ADAS attributes layer.
Configures the list of ADAS attributes to retain in memory after downloading a partition of the ADAS attributes layer.
By default, all ADAS attributes are kept in memory. Using this method allows fine-grained control over memory usage by specifying only the attributes that are needed for processing. Excluding unused attributes can help optimize memory consumption and potentially reduce operational costs.
Note: If excluded attribute is accessed later, an
IllegalArgumentExceptionwill be thrown at runtime.- adasAttributes
The list of ADAS attributes to keep in memory. Example usage:
config.withAdasAttributes( AdasAttributeDescription.BuiltUpAreaRoad, AdasAttributeDescription.Curvature )
- Definition Classes
- CanSetCacheSizesAndAttributes
- Annotations
- @varargs()
- def withMaxBlobCacheSizeBytes(value: Long): CanSetCacheSizesAndAttributes
Sets the maximum size of the blob cache to be created.
Sets the maximum size of the blob cache to be created. If not set, default of 250 MiB is used. It excludes passing external caches, but allows configuring metadata cache afterwards.
- value
the maximum size in bytes to be used by the blob cache
- Definition Classes
- CanSetCacheSizesAndAttributes
- def withMaxMetadataCacheEntryCount(value: Long): CanSetCacheSizesAndAttributes
Sets the maximum size of the metadata cache to be created.
Sets the maximum size of the metadata cache to be created. If not set, a reasonable number of entries is inferred based on blob cache size. It excludes passing external caches, but allows configuring blob cache afterwards.
- value
the maximum number of entries to be used by the metadata cache
- Definition Classes
- CanSetCacheSizesAndAttributes
- def withTopologyAttributes(topologyAttributes: TopologyAttributeDescription with AttributeDescription*): CanSetCacheSizesAndAttributes
Configures the list of Topology attributes to retain in memory after downloading a partition of the Topology attributes layer.
Configures the list of Topology attributes to retain in memory after downloading a partition of the Topology attributes layer.
By default, all Topology attributes are kept in memory. Using this method allows fine-grained control over memory usage by specifying only the attributes that are needed for processing. Excluding unused attributes can help optimize memory consumption and potentially reduce operational costs.
Note: If an excluded attribute is accessed later, an
IllegalArgumentExceptionwill be thrown at runtime.- topologyAttributes
The list of Topology attributes to keep in memory. Example usage:
config.withTopologyAttributes( TopologyAttributeDescription.FunctionalClass, TopologyAttributeDescription.OverpassUnderpass )
- Definition Classes
- CanSetCacheSizesAndAttributes
- Annotations
- @varargs()
- def withVersionedLayerReadersCache(config: VersionedLayerReadersConfiguration, blobCache: Cache[LayerMetadata, AnyRef], metadataCache: Cache[LayerMetadataKey, OptionalLayerMetadata]): CanCreateWithExternalCaches
Passes a external caches.
Passes a external caches. It excludes configuring internal caches sizes.
- config
the
VersionedLayerReadersConfigurationused to create the caches- blobCache
external blob cache to be used
- metadataCache
external metadata cache to be used
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def withAdvancedNavigationAttributes(advancedNavigationAttributes: AdvancedNavigationAttributeDescription with AttributeDescription*): CanSetCacheSizesAndAttributes
Configures the list of Advanced Navigation attributes to retain in memory after downloading a partition of the Advanced Navigation attributes layer.
Configures the list of Advanced Navigation attributes to retain in memory after downloading a partition of the Advanced Navigation attributes layer.
By default, all Advanced Navigation attributes are kept in memory. Using this method allows fine-grained control over memory usage by specifying only the attributes that are needed for processing. Excluding unused attributes can help optimize memory consumption and potentially reduce operational costs.
Note: If an excluded attribute is accessed later, an
IllegalArgumentExceptionwill be thrown at runtime.- advancedNavigationAttributes
The list of Advanced Navigation attributes to keep in memory. Example usage:
config.withAdvancedNavigationAttributes( AdvancedNavigationAttributeDescription.TrafficSignal, AdvancedNavigationAttributeDescription.SpeedLimit )
- Definition Classes
- CanSetCacheSizesAndAttributes
- Annotations
- @Deprecated @deprecated @varargs()
- Deprecated
(Since version Location Library 1.0.54) Use withTopologyAttributes instead.
- def withNavigationAttributes(navigationAttributes: NavigationAttributeDescription with AttributeDescription*): CanSetCacheSizesAndAttributes
Configures the list of Navigation attributes to retain in memory after downloading a partition of the Navigation attributes layer.
Configures the list of Navigation attributes to retain in memory after downloading a partition of the Navigation attributes layer.
By default, all Navigation attributes are kept in memory. Using this method allows fine-grained control over memory usage by specifying only the attributes that are needed for processing. Excluding unused attributes can help optimize memory consumption and potentially reduce operational costs.
Note: If an excluded attribute is accessed later, an
IllegalArgumentExceptionwill be thrown at runtime.- navigationAttributes
The list of Navigation attributes to keep in memory. Example usage:
config.withNavigationAttributes( NavigationAttributeDescription.RoadDivider, NavigationAttributeDescription.SpeedLimits )
- Definition Classes
- CanSetCacheSizesAndAttributes
- Annotations
- @Deprecated @deprecated @varargs()
- Deprecated
(Since version Location Library 1.0.54) Use withTopologyAttributes instead.
- def withRoadAttributes(roadAttributes: RoadAttributeDescription with AttributeDescription*): CanSetCacheSizesAndAttributes
Configures the list of Road attributes to retain in memory after downloading a partition of the Road attributes layer.
Configures the list of Road attributes to retain in memory after downloading a partition of the Road attributes layer.
By default, all Road attributes are kept in memory. Using this method allows fine-grained control over memory usage by specifying only the attributes that are needed for processing. Excluding unused attributes can help optimize memory consumption and potentially reduce operational costs.
Note: f an excluded attribute is accessed later, an
IllegalArgumentExceptionwill be thrown at runtime.- roadAttributes
The list of Road attributes to keep in memory. Example usage:
config.withRoadAttributes( RoadAttributeDescription.PhysicalAttribute, RoadAttributeDescription.FunctionalClass )
- Definition Classes
- CanSetCacheSizesAndAttributes
- Annotations
- @Deprecated @deprecated @varargs()
- Deprecated
(Since version Location Library 1.0.54) Use withTopologyAttributes instead.
- def withVersionedLayerReadersCache(blobCache: Cache[LayerMetadata, AnyRef], metadataCache: Cache[LayerMetadataKey, OptionalLayerMetadata]): CanCreateWithExternalCaches
Passes a external caches.
Passes a external caches. It excludes configuring internal caches sizes.
- blobCache
external blob cache to be used
- metadataCache
external metadata cache to be used
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.75) Please use withVersionedLayerReadersCache with VersionedLayerReadersConfiguration parameter