◆ get()
V fiftyone.caching.LoadingCache< K, V >.get | ( | K | key, |
ValueLoader< K, V > | loader | ||
) | throws IOException |
Get the value using the specified key and calling the specified loader if needed.
- Parameters
-
- key - the key of the value to load
- loader - the loader to use when getting the value
- Returns
- the value from the cache, or loader if not available
- Exceptions
-
- IOException - if there was an error from the loader
Implemented in fiftyone.caching.LruLoadingCache< K, V >.