private void updateSingleValueDirectly(Key key, int inputId, Value newValue) throws IOException {
    assert myKeyIsUniqueForIndexedFile;

    ChangeTrackingValueContainer<Value> cached = readIfCached(key);

    if (cached != null) {
      cached.removeAssociatedValue(inputId);
      cached.addValue(inputId, newValue);
      return;
    }

    // do not pollute the cache with keys unique to indexed file
    UpdatableValueContainer<Value> valueContainer = ValueContainerImpl.createNewValueContainer();
    valueContainer.addValue(inputId, newValue);
    myMap.put(key, valueContainer);
  }
private void updateSingleValueDirectly(Key key, int inputId, Value newValue)