Package io.datarouter.storage.util
Class BaseIndexingNodeVacuum.BaseIndexingNodeVacuumBuilder<PK extends io.datarouter.model.key.primary.RegularPrimaryKey<PK>,T,C extends BaseIndexingNodeVacuum.BaseIndexingNodeVacuumBuilder<PK,T,C>>
java.lang.Object
io.datarouter.storage.util.BaseIndexingNodeVacuum.BaseIndexingNodeVacuumBuilder<PK,T,C>
- Direct Known Subclasses:
RegularPrimaryKeyVacuum.RegularPrimaryKeyVacuumBuilder
- Enclosing class:
- BaseIndexingNodeVacuum<PK extends io.datarouter.model.key.primary.RegularPrimaryKey<PK>,
T>
public abstract static class BaseIndexingNodeVacuum.BaseIndexingNodeVacuumBuilder<PK extends io.datarouter.model.key.primary.RegularPrimaryKey<PK>,T,C extends BaseIndexingNodeVacuum.BaseIndexingNodeVacuumBuilder<PK,T,C>>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected final Consumer<Collection<PK>>protected final io.datarouter.scanner.Scanner<T> -
Constructor Summary
ConstructorsConstructorDescriptionBaseIndexingNodeVacuumBuilder(io.datarouter.scanner.Scanner<T> scanner, Predicate<T> shouldDelete, Consumer<Collection<PK>> deleteConsumer) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Cself()withDeleteBatchSize(int batchSize) withLogBatchSize(int logBatchSize)
-
Field Details
-
scanner
-
shouldDelete
-
deleteConsumer
protected final Consumer<Collection<PK extends io.datarouter.model.key.primary.RegularPrimaryKey<PK>>> deleteConsumer -
deleteBatchSize
protected int deleteBatchSize -
logBatchSize
-
-
Constructor Details
-
BaseIndexingNodeVacuumBuilder
-
-
Method Details
-
self
-
withDeleteBatchSize
-
withLogBatchSize
-