Home
last modified time | relevance | path

Searched refs:expiration_secs (Results 1 – 2 of 2) sorted by relevance

/external/autotest/site_utils/rpm_control_system/
Dutils.py78 def __init__(self, size, expiration_secs=DEFAULT_EXPIRATION_SECS): argument
89 self.expiration_secs = expiration_secs
114 if (self.expiration_secs is not None and
116 time.time() - self.timestamps[key] > self.expiration_secs):
Dutils_unittest.py89 cache = utils.LRUCache(2, expiration_secs=None)
115 cache = utils.LRUCache(1, expiration_secs=10)
138 cache = utils.LRUCache(1, expiration_secs=10)