DataCache

Accounting Cache

class DIRAC.Core.Utilities.Plotting.DataCache.DataCache(dirName='accountingPlots')

Bases: object

__init__(dirName='accountingPlots')

x.__init__(…) initializes x; see help(type(x)) for signature

getPlotData(plotFileName)
getReportData(reportRequest, reportHash, dataFunc)

Get report data from cache if exists, else generate it

getReportPlot(reportRequest, reportHash, reportData, plotFunc)

Get report data from cache if exists, else generate it

purgeExpired()
setGraphsLocation(graphsDir)