Interface TileSource.HasCacheSize

All Known Subinterfaces:
TileSource.HasTileSourceOptions
All Known Implementing Classes:
NoOpOsmSource, NoOpTileWmsSource, NoOpXyzSource, OsmSource, TileWmsSource, XyzSource
Enclosing class:
TileSource

public static interface TileSource.HasCacheSize
Interface to be implemented by sources that should provide tile cacheSize management.

For more details see: TileSource docs

  • Method Details

    • getCacheSize

      Integer getCacheSize()
      Returns:
      tile cache size or null if not set
    • setCacheSize

      void setCacheSize(Integer cacheSize)
      Sets the tile cacheSize.

      Note, cacheSize attribute is set only at creation time and cannot be changed at runtime.

      For more details see: TileSource docs

      Parameters:
      cacheSize - the cache size to set