Class AbstractCache.Builder<T extends SequenceElement>
- java.lang.Object
-
- org.deeplearning4j.models.word2vec.wordstore.inmemory.AbstractCache.Builder<T>
-
- Enclosing class:
- AbstractCache<T extends SequenceElement>
public static class AbstractCache.Builder<T extends SequenceElement> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
hugeModelExpected
protected int
minElementFrequency
protected int
retentionDelay
protected int
scavengerThreshold
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
hugeModelExpected
public AbstractCache.Builder<T> hugeModelExpected(boolean reallyExpected)
-
scavengerThreshold
public AbstractCache.Builder<T> scavengerThreshold(int threshold)
-
scavengerRetentionDelay
public AbstractCache.Builder<T> scavengerRetentionDelay(int delay)
-
minElementFrequency
public AbstractCache.Builder<T> minElementFrequency(int minFrequency)
-
build
public AbstractCache<T> build()
-
-