◆ get()
fiftyone\pipeline\engines\DataKeyedCache::get | ( | $cachekey | ) |
Get an item from the cache.
This method needs to be implemented in a subclass to work
- Parameters
-
- string - cache key
- mixed - cache result
\r\n
A simple cache class which has a get and set method Can be added to an engine to cache its results for specific evidence This base class needs to be extended to form an actual cache.
fiftyone\pipeline\engines\DataKeyedCache::get | ( | $cachekey | ) |
Get an item from the cache.
This method needs to be implemented in a subclass to work
fiftyone\pipeline\engines\DataKeyedCache::set | ( | $cachekey, | |
$value | |||
) |
Add a value to the cache This method needs to be implemented in a subclass to work.