LFUCache

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

Bases: BaseCache

Attributes Summary

to_be_removed

Returns the key with the lowest times of access and its corresponding value as a tuple.

Methods Summary

remove()

Remove the least frequently used item.

Attributes Documentation

to_be_removed

Returns the key with the lowest times of access and its corresponding value as a tuple.

Methods Documentation

remove()[source]

Remove the least frequently used item.