code: public synchronized void setCachedManagedObjectsSize(int cachedManagedObjectsSize)
                      throws ObjectManagerException
      {
          this.cachedManagedObjectsSize = cachedManagedObjectsSize;
          cachedManagedObjects = new java.lang.ref.SoftReference[cachedManagedObjectsSize];
          writeHeader();
          force();
      }
docs: Causes all curently cached ManagedObjects to be dropped.
  
  @param cachedManagedObjectsSize The cachedManagedObjectsSize to set.
  @throws ObjectManagerException