| Home | Trees | Indices | Help |
|
|---|
|
|
An extension to standard Python dictionary objects which implements item expiration.
Each item in ExpiringDictionary has its expiration time assigned, after which the item is removed from the mapping.
|
|||
new empty dictionary |
|
||
|
|||
|
|||
| v, remove specified key and return the corresponding value |
|
||
|
|||
|
|||
float
|
|
||
| None |
|
||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
float
|
_default_timeout the default timeout value (in seconds from now). |
||
| threading.RLock |
_lock access synchronization lock. |
||
dict
|
_timeouts a dictionary with timeout values and timeout callback for stored objects. |
||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|
|
|
Do the expiration of dictionary items. Remove items that expired by now from the dictionary.
|
|
Do the expiration of a dictionary item. Remove the item if it has expired by now.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Jul 10 09:22:48 2011 | http://epydoc.sourceforge.net |