final class Shumate.FileCache : GObject.Object
/* No available fields */
A cache that stores and retrieves tiles from the file system. It is mainly
ShumateTileDownloader, but can also be used by custom data sources.
The cache will be filled up to a certain size limit. When this limit is reached, the cache can be purged, and the tiles that are accessed least are deleted.
The cache can optionally store an ETag string with each tile. This is useful to avoid redownloading old tiles that haven’t changed (for example, using the HTTP If-None-Match header).
Gets the directory where the cache database is stored.
Gets the key used to store and retrieve tiles from the cache. Different keys can be used to store multiple tilesets in the same cache directory.
Gets the cache size limit in bytes.
Gets tile data from the cache, if it is available.
Gets the tile data from a completed
Marks a tile in the cache as being up to date, without changing its data.
Removes less used tiles from the cache, if necessary, until it fits in the size limit.
Gets the result of an async operation started using shumate_file_cache_purge_cache_async().
Sets the cache size limit in bytes.
Stores a tile in the cache.
Gets the success value of a completed
The directory where the tile database is stored.
The key used to store and retrieve tiles from the cache. Different keys can be used to store multiple tilesets in the same cache directory.
The cache size limit in bytes.