Home | Trees | Indices | Help |
|
---|
|
Keep track of previously loaded ExeConfig instances in order to avoid the multiple parsing of one and the same config file. The class contains only static methods -- it is not necessary to create an instance of it.
Usage:>>> my_config = ExeConfigCache.get( 'my_program' )Should be thread-save, i.e. multiple threads can simultaniously access the cache (not tested).
|
|||
ExeConfig
|
get(name,
reload=0,
**kw) Get the ExeConfig instance for the given program. |
||
|
reset() Empty the cache. |
||
int
|
len() Number of entries in the cache. |
|
|||
|
LOCK = threading.Lock()
|
||
|
CACHE = {}
|
|
Get the ExeConfig instance for the given program.
|
Empty the cache.
|
Number of entries in the cache.
|
|
LOCK
|
CACHE
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Tue May 1 22:34:54 2007 | http://epydoc.sourceforge.net |