Class ConcurrentOpenHashSet.Builder<V>
- java.lang.Object
-
- org.apache.bookkeeper.util.collections.ConcurrentOpenHashSet.Builder<V>
-
- Enclosing class:
- ConcurrentOpenHashSet<V>
public static class ConcurrentOpenHashSet.Builder<V> extends java.lang.ObjectBuilder of ConcurrentOpenHashSet.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanautoShrink(package private) intconcurrencyLevel(package private) floatexpandFactor(package private) intexpectedItems(package private) floatmapFillFactor(package private) floatmapIdleFactor(package private) floatshrinkFactor
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConcurrentOpenHashSet.Builder<V>autoShrink(boolean autoShrink)ConcurrentOpenHashSet<V>build()ConcurrentOpenHashSet.Builder<V>concurrencyLevel(int concurrencyLevel)ConcurrentOpenHashSet.Builder<V>expandFactor(float expandFactor)ConcurrentOpenHashSet.Builder<V>expectedItems(int expectedItems)ConcurrentOpenHashSet.Builder<V>mapFillFactor(float mapFillFactor)ConcurrentOpenHashSet.Builder<V>mapIdleFactor(float mapIdleFactor)ConcurrentOpenHashSet.Builder<V>shrinkFactor(float shrinkFactor)
-
-
-
Method Detail
-
expectedItems
public ConcurrentOpenHashSet.Builder<V> expectedItems(int expectedItems)
-
concurrencyLevel
public ConcurrentOpenHashSet.Builder<V> concurrencyLevel(int concurrencyLevel)
-
mapFillFactor
public ConcurrentOpenHashSet.Builder<V> mapFillFactor(float mapFillFactor)
-
mapIdleFactor
public ConcurrentOpenHashSet.Builder<V> mapIdleFactor(float mapIdleFactor)
-
expandFactor
public ConcurrentOpenHashSet.Builder<V> expandFactor(float expandFactor)
-
shrinkFactor
public ConcurrentOpenHashSet.Builder<V> shrinkFactor(float shrinkFactor)
-
autoShrink
public ConcurrentOpenHashSet.Builder<V> autoShrink(boolean autoShrink)
-
build
public ConcurrentOpenHashSet<V> build()
-
-