◆ get()
V fiftyone.caching.LruCacheBase< K, V >.get | ( | K | key | ) |
Retrieves the value for key requested.
- Parameters
-
- key - or the item required
- Returns
- an instance of the value associated with the key or null
Implements fiftyone.caching.Cache< K, V >.
◆ getCacheMisses()
long fiftyone.caching.LruCacheBase< K, V >.getCacheMisses ( ) - Returns
- number of cache misses.
◆ getCacheRequests()
long fiftyone.caching.LruCacheBase< K, V >.getCacheRequests ( ) - Returns
- number of requests received by the cache.
◆ getCacheSize()
long fiftyone.caching.LruCacheBase< K, V >.getCacheSize ( ) The number of items the cache lists should have capacity for.
- Returns
- capacity of the cache.
◆ getPercentageMisses()
double fiftyone.caching.LruCacheBase< K, V >.getPercentageMisses ( ) - Returns
- the percentage of times cache request did not return a result.