Package bw :: Package poseidon :: Module cache :: Class RCache
[frames] | no frames]

Class RCache

object --+
         |
        RCache

A simple read cache with a LRU algorithm for cleanup

Instance Methods
 
__init__(self, fn, options)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__setitem__(self, key, value)
 
__getitem__(self, key)
 
__delitem__(self, key)
 
clear(self)
 
get(self, key, failobj)
 
setdefault(self, key, value)
 
__contains__(self, key)
 
__iter__(self)
 
__len__(self)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, fn, options)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)