Robot Framework Integrated Development Environment (RIDE)
robotide.namespace.cache.ExpiringCache Class Reference

Public Member Functions

def __init__ (self, timeout=0.5)
 
def get (self, key)
 
def put (self, key, values)
 

Private Member Functions

def _get_from_cache (self, source, name)
 
def _is_valid (self, key_time)
 

Private Attributes

 _cache
 
 _timeout
 

Detailed Description

Definition at line 144 of file cache.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.namespace.cache.ExpiringCache.__init__ (   self,
  timeout = 0.5 
)

Definition at line 146 of file cache.py.

Member Function Documentation

◆ _get_from_cache()

def robotide.namespace.cache.ExpiringCache._get_from_cache (   self,
  source,
  name 
)
private

Definition at line 163 of file cache.py.

◆ _is_valid()

def robotide.namespace.cache.ExpiringCache._is_valid (   self,
  key_time 
)
private

Definition at line 157 of file cache.py.

◆ get()

def robotide.namespace.cache.ExpiringCache.get (   self,
  key 
)

Definition at line 150 of file cache.py.

◆ put()

def robotide.namespace.cache.ExpiringCache.put (   self,
  key,
  values 
)

Definition at line 160 of file cache.py.

Member Data Documentation

◆ _cache

robotide.namespace.cache.ExpiringCache._cache
private

Definition at line 147 of file cache.py.

◆ _timeout

robotide.namespace.cache.ExpiringCache._timeout
private

Definition at line 148 of file cache.py.


The documentation for this class was generated from the following file: