According to the API
iterateCacheRefs() is deprecated but the comment doesn’t suggest what to use instead.
iterateCacheRefs()