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