Package io.datarouter.storage.util
Class PrimaryKeyVacuum.PrimaryKeyVacuumBuilder<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
java.lang.Object
io.datarouter.storage.util.BaseNodeVacuum.BaseNodeVacuumBuilder<PK,PK,PrimaryKeyVacuum.PrimaryKeyVacuumBuilder<PK>>
io.datarouter.storage.util.PrimaryKeyVacuum.PrimaryKeyVacuumBuilder<PK>
- Enclosing class:
- PrimaryKeyVacuum<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
public static class PrimaryKeyVacuum.PrimaryKeyVacuumBuilder<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
extends BaseNodeVacuum.BaseNodeVacuumBuilder<PK,PK,PrimaryKeyVacuum.PrimaryKeyVacuumBuilder<PK>>
-
Field Summary
Fields inherited from class io.datarouter.storage.util.BaseNodeVacuum.BaseNodeVacuumBuilder
deleteBatchSize, deleteConsumer, logBatchSize, scanner, shouldDelete -
Constructor Summary
ConstructorsConstructorDescriptionPrimaryKeyVacuumBuilder(io.datarouter.scanner.Scanner<PK> scanner, Predicate<PK> shouldDelete, Consumer<Collection<PK>> deleteConsumer) -
Method Summary
Modifier and TypeMethodDescriptionbuild()protected PrimaryKeyVacuum.PrimaryKeyVacuumBuilder<PK>self()Methods inherited from class io.datarouter.storage.util.BaseNodeVacuum.BaseNodeVacuumBuilder
withDeleteBatchSize, withLogBatchSize
-
Constructor Details
-
PrimaryKeyVacuumBuilder
-
-
Method Details
-
self
- Specified by:
selfin classBaseNodeVacuum.BaseNodeVacuumBuilder<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,PK extends io.datarouter.model.key.primary.PrimaryKey<PK>, PrimaryKeyVacuum.PrimaryKeyVacuumBuilder<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>>
-
build
-