An object instantiated as a singleton for each statsfile that provides
access to the database cache from a pool of StatsCache objects.
|
create(self)
Create all tables and indexes. |
source code
|
|
String or None
|
_getstoredfileid(self,
filename,
optmtime=-1,
checkmtime=True)
Attempt to find the fileid of the given file, if it hasn't been
updated since the last record update. |
source code
|
|
|
_getstoredcheckerconfig(self,
checker)
See if this checker configuration has been used before. |
source code
|
|
|
_cacheunitstats(self,
units,
fileid,
unitindex=None)
Cache the statistics for the supplied unit(s). |
source code
|
|
|
cachestore(self,
store)
Calculates and caches the statistics of the given store
unconditionally. |
source code
|
|
|
|
|
filetotals(self,
filename)
Retrieves the statistics for the given file if possible, otherwise
delegates to cachestore(). |
source code
|
|
|
_cacheunitschecks(self,
units,
fileid,
configid,
checker,
unitindex=None)
Helper method for cachestorechecks() and recacheunit() |
source code
|
|
|
cachestorechecks(self,
fileid,
store,
checker,
configid)
Calculates and caches the error statistics of the given store
unconditionally. |
source code
|
|
|
|
|
filechecks(self,
filename,
checker,
store=None)
Retrieves the error statistics for the given file if possible,
otherwise delegates to cachestorechecks(). |
source code
|
|
|
filestats(self,
filename,
checker,
store=None)
complete stats |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|