def get_stats(self, interval):
        """Get cache stats
        """
        intervaldir = 'stats_{}'.format(interval)
        path = "{}/{}".format(self.cachepath, intervaldir)
        out = dict()
        for elem in os.listdir(path):
            out[elem] = open('{}/{}'.format(path, elem)).read().strip()
        return out
Get cache stats