@Override
  public void addValue(final Key key, final int inputId, final Value value) throws StorageException {
    if (FileBasedIndexEx.doTraceStubUpdates(myIndexId)) {
      LOG.info("addValue,inputId=" + inputId + ",index=" + myIndexId + ",inMemory=" + myBufferingEnabled + "," + value);
    }

    if (myBufferingEnabled) {
      getMemValueContainer(key).addValue(inputId, value);
      return;
    }
    final ChangeTrackingValueContainer<Value> valueContainer = myMap.get(key);
    if (valueContainer != null) {
      valueContainer.dropMergedData();
    }

    myBackendStorage.addValue(key, inputId, value);
  }
@Override
  public void addValue(final Key key, final int inputId, final Value value)