Resets the internal, static entity cache.
$ids: (optional) If specified, the cache is reset for the entities with the given ids only.
public function resetCache(array $ids = NULL);