Gets the maximum number of bytes used to store build data (in bytes).
This is the same value that was set by setMaxBuildCacheSize.
The maximum number of bytes used to store build data (in bytes).
Gets the maximum number of bytes used to store HD geometries (in bytes).
This is the same value that was set by setMaxGeometryCacheSize.
The maximum number of bytes used to store HD geometries (in bytes).
The InfiniteCacheInterface is based on IndexedDB to limit the bandwidth usage, and speed up the loading and displaying of data when using a DataSessionInterface.
The sizes of the cache are stored in the LocalStorage of the browser. The former values that were set will be used when creating a new cache / reloading the page.
The InfiniteCacheInterface handles two types of data :
The two types of data are handled separately in the InfiniteCacheInterface.
The connection procedure to IndexedDB is started when the InfiniteCacheInterface is created. The isConnected will return true shortly after creation if IndexedDB is available.
The [InfiniteCacheInterface](InfiniteCacheInterface.html) only exposes getters, the cache manipulation is available through the [PerformanceInterface](PerformanceInterface.html), the [PerformanceInterface](PerformanceInterface.html) also lists absolute minimum and default values ([GetMaxBuildCacheSizeMin](PerformanceInterface.html#GetMaxBuildCacheSizeMin), [GetMaxBuildCacheSizeDefault](PerformanceInterface.html#GetMaxBuildCacheSizeDefault), ...).
Please refer to [DataSessionInterface](DataSessionInterface.html) for more information.
See
DataSessionInterface