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