<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_cache_max(self, cache_name, maxsize, **kwargs):
 """ Sets the maxsize attribute of the named cache """

        cache = self._get_cache(cache_name)
        cache.set_maxsize(maxsize, **kwargs)