public void increaseRefCount(@NotNull String uid) {
        Preconditions.requireNonBlank(uid, "uid must be non-blank");
        getActiveEntityManager()
            .createQuery("UPDATE BlobEntity b "
                           + "SET b.refCount = b.refCount+1"
                           + "WHERE b.id = :uid")
            .setParameter("uid", uid)
            .executeUpdate();
    }
Delete by provided ID (nb: not name, its ID set when stored).

<p>Does not truly delete the file if there are other (i.e. deduplicated) references to this blob. In this case
the reference counter is decremented.
manager/api/jpa/src/main/java/io/apiman/manager/api/jpa/blobstore/BlobStoreRepository.java