Package io.bdeploy.bhive.op
Class ManifestDeleteOldByIdOperation
- All Implemented Interfaces:
BHiveExecution,Callable<Void>
Operation to delete manifests from the
ManifestDatabase of
the BHive which follow the simple version counting scheme.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()setAmountToKeep(int amount) Set the amount of old versions to keep - defaults to 10.setPreDeleteHook(Consumer<Manifest.Key> hook) setRunGarbageCollector(boolean gc) Whether to execute the garbage collector right after deletion.setToDelete(String toDelete) Set theManifestto be deleted.Methods inherited from class io.bdeploy.bhive.BHive.Operation
execute, getActivityReporter, getAuditor, getLockContentSupplier, getLockContentValidator, getManifestDatabase, getMarkerRoot, getObjectManager, getTransactions, setRetryCount, submitFileOperation
-
Constructor Details
-
ManifestDeleteOldByIdOperation
public ManifestDeleteOldByIdOperation()
-
-
Method Details