public static class AbstractCache.Builder<T extends SequenceElement>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
hugeModelExpected |
protected int |
minElementFrequency |
protected int |
retentionDelay |
protected int |
scavengerThreshold |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AbstractCache<T> |
build() |
AbstractCache.Builder<T> |
hugeModelExpected(boolean reallyExpected) |
AbstractCache.Builder<T> |
minElementFrequency(int minFrequency) |
AbstractCache.Builder<T> |
scavengerRetentionDelay(int delay) |
AbstractCache.Builder<T> |
scavengerThreshold(int threshold) |
protected int scavengerThreshold
protected int retentionDelay
protected int minElementFrequency
protected boolean hugeModelExpected
public AbstractCache.Builder<T> hugeModelExpected(boolean reallyExpected)
public AbstractCache.Builder<T> scavengerThreshold(int threshold)
public AbstractCache.Builder<T> scavengerRetentionDelay(int delay)
public AbstractCache.Builder<T> minElementFrequency(int minFrequency)
public AbstractCache<T> build()