Class ConcurrentOpenHashSet<V>
java.lang.Object
org.apache.pulsar.common.util.collections.ConcurrentOpenHashSet<V>
- Type Parameters:
V-
Concurrent hash set.
Provides similar methods as a ConcurrentMap<K,V> but since it's an open hash map with linear probing,
no node allocations are required to store the values.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder of ConcurrentOpenHashSet. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ConcurrentOpenHashSet(int expectedItems) Deprecated.ConcurrentOpenHashSet(int expectedItems, int concurrencyLevel) Deprecated.ConcurrentOpenHashSet(int expectedItems, int concurrencyLevel, float mapFillFactor, float mapIdleFactor, boolean autoShrink, float expandFactor, float shrinkFactor) -
Method Summary
-
Constructor Details
-
ConcurrentOpenHashSet
Deprecated. -
ConcurrentOpenHashSet
Deprecated. -
ConcurrentOpenHashSet
Deprecated. -
ConcurrentOpenHashSet
public ConcurrentOpenHashSet(int expectedItems, int concurrencyLevel, float mapFillFactor, float mapIdleFactor, boolean autoShrink, float expandFactor, float shrinkFactor)
-
-
Method Details