Package io.datarouter.storage.util
Class BaseNodeVacuum<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,T>
java.lang.Object
io.datarouter.storage.util.BaseNodeVacuum<PK,T>
- Direct Known Subclasses:
DatabeanVacuum,PrimaryKeyVacuum
public abstract class BaseNodeVacuum<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,T>
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBaseNodeVacuum.BaseNodeVacuumBuilder<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,T, C extends BaseNodeVacuum.BaseNodeVacuumBuilder<PK, T, C>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseNodeVacuum(io.datarouter.scanner.Scanner<T> scanner, Consumer<Collection<PK>> deleteConsumer, int deleteBatchSize, Optional<Integer> logBatchSize, Predicate<T> shouldDelete) -
Method Summary
-
Constructor Details
-
BaseNodeVacuum
-
-
Method Details
-
getKey
-
run
public void run(io.datarouter.instrumentation.task.TaskTracker tracker)
-