LRUCache

class sunpy.database.caching.LRUCache(maxsize=inf)[source]

Bases: BaseCache

Attributes Summary

to_be_removed

Return the least recently used key and its corresponding value as a tuple.

Methods Summary

remove()

Remove the least recently used item.

Attributes Documentation

to_be_removed

Return the least recently used key and its corresponding value as a tuple.

Methods Documentation

remove()[source]

Remove the least recently used item.