\r\n

51Degrees Pipeline Python  4.3

51Degrees Pipeline for Python
  • pipeline-python
  • fiftyone_pipeline_engines
  • fiftyone_pipeline_engines
  • lru_cache
  • LRUEngineCache

pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.lru_cache.LRUEngineCache Class Reference

Detailed Description

An instance of DataKeyed cache using a least recently used (LRU) method.

Inheritance diagram for pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.lru_cache.LRUEngineCache:

[legend]

Collaboration diagram for pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.lru_cache.LRUEngineCache:

[legend]

Public Member Functions

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...

Public Attributes

 cache

Constructor & Destructor Documentation

◆ __init__()

def pipeline-python.fiftyone_pipeline_engines.fiftyone_pipeline_engines.lru_cache.LRUEngineCache.__init__ (   self,
  size = 1000  
)

Constructor for LRUCache @type size: int.

Parameters
size - maximum entries in the cache

Member Function Documentation