Interface CachingVersionedLayers

All Superinterfaces:
VersionedLayers
All Known Implementing Classes:
JavaScalaConverters.AsJavaCachingVersionedLayers

public interface CachingVersionedLayers extends VersionedLayers
Adds to the `VersionedLayers` the capability to gather stats and preload data into the cache.
  • Method Details

    • getVersionedGenericLayer

      CachingVersionedGenericLayer getVersionedGenericLayer(String layerId)
      Description copied from interface: VersionedLayers
      VersionedGenericLayer which can be used to retrieve data from a versioned layer with a generic partitioning scheme.
      Specified by:
      getVersionedGenericLayer in interface VersionedLayers
      Parameters:
      layerId - Layer id for which to retrieve data.
      Returns:
      a VersionedGenericLayer which can be used to retrieve data or null if a Layer with the specified layerId does not exist.
    • getVersionedHereTileLayer

      CachingVersionedHereTileLayer getVersionedHereTileLayer(String layerId)
      Description copied from interface: VersionedLayers
      VersionedHereTileLayer which can be used to retrieve data from a versioned layer with a here tile partitioning scheme.
      Specified by:
      getVersionedHereTileLayer in interface VersionedLayers
      Parameters:
      layerId - Layer id for which to retrieve data.
      Returns:
      a VersionedHereTileLayer which can be used to retrieve data or null if a Layer with the specified layerId does not exist.
    • getBlobCacheStats

      CacheStats getBlobCacheStats()
      Returns the status of the internal cache for the data coming from the blob service containing the decoded partition data.
    • getMetadataCacheStats

      CacheStats getMetadataCacheStats()
      Returns the status of the internal cache for the data coming from the metadata service (refer to Data Service documentation for more information).