类 ConcurrentLongPairSet

java.lang.Object
org.apache.pulsar.common.util.collections.ConcurrentLongPairSet
所有已实现的接口:
LongPairSet

public class ConcurrentLongPairSet extends Object implements LongPairSet
Concurrent hash set where values are composed of pairs of longs.

Provides similar methods as a ConcurrentHashSet<V> but since it's an open hash set with linear probing, no node allocations are required to store the keys and values, and no boxing is required.

Values MUST be >= 0.

  • 构造器详细资料

    • ConcurrentLongPairSet

      @Deprecated public ConcurrentLongPairSet()
      已过时。
    • ConcurrentLongPairSet

      @Deprecated public ConcurrentLongPairSet(int expectedItems)
      已过时。
    • ConcurrentLongPairSet

      @Deprecated public ConcurrentLongPairSet(int expectedItems, int concurrencyLevel)
      已过时。
    • ConcurrentLongPairSet

      public ConcurrentLongPairSet(int expectedItems, int concurrencyLevel, float mapFillFactor, float mapIdleFactor, boolean autoShrink, float expandFactor, float shrinkFactor)
  • 方法详细资料