code: public void setWrapperCacheSize(int cacheSize)
      {
          wrapperCache.setCachePreferredMaxSize(cacheSize);
          int updatedCacheSize = getBeanIdCacheSize(cacheSize);
          beanIdCache.setSize(updatedCacheSize);
      }
docs: Call to update the BeanIdCache cache size.