private int enumerate(Key name) throws IOException {
    if (myIsReadOnly) throw new IncorrectOperationException();
    getWriteLock().lock();
    try {
      myIntAddressForNewRecord = canUseIntAddressForNewRecord(myValueStorage.getSize());
      return myEnumerator.enumerate(name);
    }
    finally {
      getWriteLock().unlock();
    }
  }
private int enumerate(Key name)