Gets the maximum number of bytes used to store build data (in bytes).
This is the same value that was set by InfiniteCachePerformanceInterface.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 InfiniteCachePerformanceInterface.setMaxGeometryCacheSize.
The maximum number of bytes used to store HD geometries (in bytes).
Gets the performance infos to tweak the InfiniteCacheInterface performance.
The InfiniteCachePerformanceInterface that handle the InfiniteCacheInterface performance.
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 initialization 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 only exposes getters, the cache manipulation is available through the InfiniteCachePerformanceInterface, the InfiniteCachePerformanceInterface also lists absolute minimum and default values (InfiniteCachePerformanceInterface.GetMaxBuildCacheSizeMin, InfiniteCachePerformanceInterface.GetMaxBuildCacheSizeDefault, ...). The InfiniteCachePerformanceInterface is accessible through the getPerformance function.
Please refer to DataSessionInterface for more information.
See
DataSessionInterface