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
Constructors Constructor Description PrimaryKeyVacuumBuilder(io.datarouter.scanner.Scanner<PK> scanner, Predicate<PK> shouldDelete, Consumer<Collection<PK>> deleteConsumer) -
Method Summary
Modifier and Type Method Description PrimaryKeyVacuum<PK>build()protected PrimaryKeyVacuum.PrimaryKeyVacuumBuilder<PK>self()Methods inherited from class io.datarouter.storage.util.BaseNodeVacuum.BaseNodeVacuumBuilder
withDeleteBatchSize, withLogBatchSize