def METHOD_NAME(self):
    """
    Resets the cache to its current data type
    """
    if isinstance(self._cache, (dict, set)):
        self._cache.clear()
    elif isinstance(self._cache, list):
        del self._cache[:]
    else:
        raise MemoryCacheException("The cache needs to be reset manually, data type unknown")