◆ put()
void fiftyone.caching.LruPutCache< K, V >.put | ( | K | key, |
V | value | ||
) |
Add an item to the cache.
- Parameters
-
- key - the key for the item
- value - the value to add
Implements fiftyone.caching.PutCache< K, V >.
\r\n
Uses the LruCacheBase to implement the PutCache interface.
class | Builder |
void | put (K key, V value)
Add an item to the cache. More...
|
Public Member Functions inherited from fiftyone.caching.LruCacheBase< K, V > | |
long | getCacheSize ()
The number of items the cache lists should have capacity for. More...
|
long | getCacheMisses () |
void fiftyone.caching.LruPutCache< K, V >.put | ( | K | key, |
V | value | ||
) |
Add an item to the cache.
Implements fiftyone.caching.PutCache< K, V >.