◆ __init__()
def fiftyone_pipeline_engines.lru_cache.LRUEngineCache.__init__ | ( | self, | |
size = 1000
|
|||
) |
Constructor for LRUCache @type size: int.
- Parameters
-
- size - maximum entries in the cache
\r\n
An instance of DataKeyed cache using a least recently used (LRU) method.
def | __init__ (self, size=1000)
Constructor for LRUCache @type size: int. More...
|
def | get_cache_value (self, cache_key)
Get data from the cache @type key : string. More...
|
def | set_cache_value (self, key, value)
Place data in the cache @type key : string. More...
|
def fiftyone_pipeline_engines.lru_cache.LRUEngineCache.__init__ | ( | self, | |
size = 1000
|
|||
) |
Constructor for LRUCache @type size: int.
def fiftyone_pipeline_engines.lru_cache.LRUEngineCache.get_cache_value | ( | self, | |
cachekey | |||
) |
Get data from the cache @type key : string.
Reimplemented from fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache.
def fiftyone_pipeline_engines.lru_cache.LRUEngineCache.set_cache_value | ( | self, | |
cachekey, | |||
value | |||
) |
Place data in the cache @type key : string.
Reimplemented from fiftyone_pipeline_engines.datakeyed_cache.DataKeyedCache.
fiftyone_pipeline_engines.lru_cache.LRUEngineCache.cache |