◆ LruLoadingCache()
fiftyone.caching.LruLoadingCache< K, V >.LruLoadingCache | ( | int | cacheSize, |
ValueLoader< K, V > | loader | ||
) |
Constructs a new instance of the cache.
- Parameters
-
- cacheSize - the number of items to store in the cache
- loader - the loader used to fetch items not already in the cache