예제 #1
0
  /**
   * Clean up the BLOB of an already deleted artifact
   *
   * @param id
   */
  public void vacuumArtifact(final String id) throws IOException {
    logger.debug("Vacuuming artifact: {}", id);

    checkOpen();

    // there is no need to delete this at a database level, since the entity containing the BLOB is
    // already deleted

    final FilesystemBlobStoreProcessor currentFilesystem = this.filesystem.get();
    if (currentFilesystem != null) {
      currentFilesystem.deleteBlob(id);
    }
  }