Class ConcurrentLongHashSet.Builder
- java.lang.Object
-
- org.apache.bookkeeper.util.collections.ConcurrentLongHashSet.Builder
-
- Enclosing class:
- ConcurrentLongHashSet
public static class ConcurrentLongHashSet.Builder extends java.lang.Object
Builder of ConcurrentLongHashSet.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
autoShrink
(package private) int
concurrencyLevel
(package private) float
expandFactor
(package private) int
expectedItems
(package private) float
mapFillFactor
(package private) float
mapIdleFactor
(package private) float
shrinkFactor
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConcurrentLongHashSet.Builder
autoShrink(boolean autoShrink)
ConcurrentLongHashSet
build()
ConcurrentLongHashSet.Builder
concurrencyLevel(int concurrencyLevel)
ConcurrentLongHashSet.Builder
expandFactor(float expandFactor)
ConcurrentLongHashSet.Builder
expectedItems(int expectedItems)
ConcurrentLongHashSet.Builder
mapFillFactor(float mapFillFactor)
ConcurrentLongHashSet.Builder
mapIdleFactor(float mapIdleFactor)
ConcurrentLongHashSet.Builder
shrinkFactor(float shrinkFactor)
-
-
-
Method Detail
-
expectedItems
public ConcurrentLongHashSet.Builder expectedItems(int expectedItems)
-
concurrencyLevel
public ConcurrentLongHashSet.Builder concurrencyLevel(int concurrencyLevel)
-
mapFillFactor
public ConcurrentLongHashSet.Builder mapFillFactor(float mapFillFactor)
-
mapIdleFactor
public ConcurrentLongHashSet.Builder mapIdleFactor(float mapIdleFactor)
-
expandFactor
public ConcurrentLongHashSet.Builder expandFactor(float expandFactor)
-
shrinkFactor
public ConcurrentLongHashSet.Builder shrinkFactor(float shrinkFactor)
-
autoShrink
public ConcurrentLongHashSet.Builder autoShrink(boolean autoShrink)
-
build
public ConcurrentLongHashSet build()
-
-