◆ CacheConfiguration() [1/2]
fiftyone.pipeline.engines.configuration.CacheConfiguration.CacheConfiguration | ( | CacheBuilder | builder, |
int | size | ||
) |
Construct a new builder with the builder and size specified.
- Parameters
-
- builder - the builder to use to create caches
- size - the maximum size of the cache
◆ CacheConfiguration() [2/2]
fiftyone.pipeline.engines.configuration.CacheConfiguration.CacheConfiguration ( int size ) Construct a new builder using the LruPutCache with the size specified.
- Parameters
-
- size - maximum size of the cache
Member Function Documentation
◆ getCacheBuilder()
CacheBuilder fiftyone.pipeline.engines.configuration.CacheConfiguration.getCacheBuilder ( ) Get the builder to use when building a cache.
- Returns
- cache builder
◆ getSize()
int fiftyone.pipeline.engines.configuration.CacheConfiguration.getSize ( ) Get the maximum size parameter to use when building a cache.
- Returns
- cache size