public static class BfInsertArgs.Builder extends Object
BfInsertArgs.| Modifier and Type | Method and Description |
|---|---|
static BfInsertArgs |
capacity(long capacity)
Creates a new
BfInsertArgs and sets the desired capacity of the filter. |
static BfInsertArgs |
defaults()
Creates a new
BfInsertArgs with default settings. |
static BfInsertArgs |
error(double error)
Creates a new
BfInsertArgs and sets the desired error rate of the filter. |
static BfInsertArgs |
expansion(long expansion)
Creates a new
BfInsertArgs and sets the expansion rate of the filter. |
static BfInsertArgs |
noCreate()
Creates a new
BfInsertArgs and sets the no create flag. |
static BfInsertArgs |
nonScaling()
Creates a new
BfInsertArgs and sets the non scaling flag. |
public static BfInsertArgs capacity(long capacity)
BfInsertArgs and sets the desired capacity of the filter.BfInsertArgs with capacity configured.public static BfInsertArgs error(double error)
BfInsertArgs and sets the desired error rate of the filter.BfInsertArgs with error rate configured.public static BfInsertArgs expansion(long expansion)
BfInsertArgs and sets the expansion rate of the filter.BfInsertArgs with expansion rate configured.public static BfInsertArgs noCreate()
BfInsertArgs and sets the no create flag.BfInsertArgs with no create flag configured.public static BfInsertArgs nonScaling()
BfInsertArgs and sets the non scaling flag.BfInsertArgs with non scaling flag configured.public static BfInsertArgs defaults()
BfInsertArgs with default settings.BfInsertArgs with default settings.Copyright © 2026 lettuce.io. All rights reserved.