Class ConcurrentLongLongPairHashMap.Builder
- java.lang.Object
-
- org.apache.bookkeeper.util.collections.ConcurrentLongLongPairHashMap.Builder
-
- Enclosing class:
- ConcurrentLongLongPairHashMap
public static class ConcurrentLongLongPairHashMap.Builder extends java.lang.Object
Builder of ConcurrentLongLongPairHashMap.
-
-
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 ConcurrentLongLongPairHashMap.Builder
autoShrink(boolean autoShrink)
ConcurrentLongLongPairHashMap
build()
ConcurrentLongLongPairHashMap.Builder
concurrencyLevel(int concurrencyLevel)
ConcurrentLongLongPairHashMap.Builder
expandFactor(float expandFactor)
ConcurrentLongLongPairHashMap.Builder
expectedItems(int expectedItems)
ConcurrentLongLongPairHashMap.Builder
mapFillFactor(float mapFillFactor)
ConcurrentLongLongPairHashMap.Builder
mapIdleFactor(float mapIdleFactor)
ConcurrentLongLongPairHashMap.Builder
shrinkFactor(float shrinkFactor)
-
-
-
Method Detail
-
expectedItems
public ConcurrentLongLongPairHashMap.Builder expectedItems(int expectedItems)
-
concurrencyLevel
public ConcurrentLongLongPairHashMap.Builder concurrencyLevel(int concurrencyLevel)
-
mapFillFactor
public ConcurrentLongLongPairHashMap.Builder mapFillFactor(float mapFillFactor)
-
mapIdleFactor
public ConcurrentLongLongPairHashMap.Builder mapIdleFactor(float mapIdleFactor)
-
expandFactor
public ConcurrentLongLongPairHashMap.Builder expandFactor(float expandFactor)
-
shrinkFactor
public ConcurrentLongLongPairHashMap.Builder shrinkFactor(float shrinkFactor)
-
autoShrink
public ConcurrentLongLongPairHashMap.Builder autoShrink(boolean autoShrink)
-
build
public ConcurrentLongLongPairHashMap build()
-
-