Home | Trees | Indices | Help |
|
---|
|
object --+ | Cache
Simple DNS answer cache.
|
|||
|
|||
|
|||
dns.resolver.Answer object or None |
|
||
|
|||
|
|||
Inherited from |
|
|||
float |
cleaning_interval The number of seconds between cleanings. |
||
dict |
data A dictionary of cached data |
||
float |
next_cleaning The time the cache should next be cleaned (in seconds since the epoch.) |
|
|||
Inherited from |
|
Initialize a DNS cache.
|
Get the answer associated with key. Returns None if no answer is cached for the key.
|
Associate key and value in the cache.
|
Flush the cache. If key is specified, only that item is flushed. Otherwise the entire cache is flushed.
|
|
cleaning_intervalThe number of seconds between cleanings. The default is 300 (5 minutes).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Sep 30 08:16:43 2016 | http://epydoc.sourceforge.net |