Detailed Description
Builder interface used to build caches.
The builder is type agnostic, and will build a cache with the types provided.
Inheritance diagram for fiftyone.caching.CacheBuilder:
Public Member Functions | |
| < K, V > Cache< K, V > | build (Cache< K, V > c, int cacheSize) |
| Build a new instance of the cache. | |
Member Function Documentation
◆ build()
Build a new instance of the cache.
- Parameters
-
c a cache to get the key and value types from cacheSize size of the cache <K> type of key to store in the cache <V> type of value to store in the cache
- Returns
- a new cache instance
Implemented in fiftyone.caching.PutCacheBuilder.
