@Test public void deleteOrphanedBlobs() { setupOrphanedBlob(); underTest.delete(repository); verify(blobStore).deleteHard(new BlobId(ORPHANED_BLOB_ID)); }
@Override public void delete() { log.info("Starting delete of orphaned blobs for all known blob stores"); blobStoreManager.browse().forEach(this::delete); log.info("Finished deleting orphaned blobs"); }
DatastoreOrphanedBlobFinder extends ComponentSupport implements OrphanedBlobFinder { @Override public void delete() { log.info("Starting delete of orphaned blobs for all known blob stores"); blobStoreManager.browse().forEach(this::delete); log.info("Finished deleting orphaned blobs"); } }
DatastoreOrphanedBlobFinder extends ComponentSupport implements OrphanedBlobFinder { @Override public void delete() { log.info("Starting delete of orphaned blobs for all known blob stores"); blobStoreManager.browse().forEach(this::delete); log.info("Finished deleting orphaned blobs"); } @Inject  DatastoreOrphanedBlobFinder(final RepositoryManager repositoryManager, final BlobStoreManager blobStoreManager); }
DatastoreOrphanedBlobFinder extends ComponentSupport implements OrphanedBlobFinder { @Override public void delete() { log.info("Starting delete of orphaned blobs for all known blob stores"); blobStoreManager.browse().forEach(this::delete); log.info("Finished deleting orphaned blobs"); } @Inject  DatastoreOrphanedBlobFinder(final RepositoryManager repositoryManager, final BlobStoreManager blobStoreManager); @Override void delete(); @Override void delete(final Repository repository); @Override void detect(final Repository repository, final Consumer<String> handler); }
DatastoreOrphanedBlobFinder extends ComponentSupport implements OrphanedBlobFinder { @Override public void delete() { log.info("Starting delete of orphaned blobs for all known blob stores"); blobStoreManager.browse().forEach(this::delete); log.info("Finished deleting orphaned blobs"); } @Inject  DatastoreOrphanedBlobFinder(final RepositoryManager repositoryManager, final BlobStoreManager blobStoreManager); @Override void delete(); @Override void delete(final Repository repository); @Override void detect(final Repository repository, final Consumer<String> handler);  }