DataCache

Accounting Cache

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

Bases: object

__init__(dirName='accountingPlots')
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)