public void closeAndClean() {
    if (myDataClosed.compareAndSet(false, true)) {
      closeAndClean(myData.groupToArtifactMap);
      closeAndClean(myData.groupWithArtifactToVersionMap);
      closeAndClean(myData.archetypeIdToDescriptionMap);
      close(false);
    }
  }
public void closeAndClean()