@_enable_thread_pool<EOL><INDENT>@_enable_lock<EOL>def statistic_record(self, desc=True, timeout=<NUM_LIT:3>, is_async=False, only_read=True, *keys):<DEDENT>
if len(keys) == <NUM_LIT:0>:<EOL><INDENT>records = self._generate_statistic_records()<EOL><DEDENT>else:<EOL><INDENT>records = self._generate_statistic_records_by_keys(keys)<EOL><DEDENT>return sorted(records, key=lambda t: t['<STR_LIT>'], reverse=desc)<EOL>
Returns a list that each element is a dictionary of the statistic info of the cache item.