Class UnlockedHashMap.Table<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    UnlockedHashMap<K,​V>

    static final class UnlockedHashMap.Table<K,​V>
    extends java.util.concurrent.atomic.AtomicReferenceArray<UnlockedHashMap.Item<K,​V>[]>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) UnlockedHashMap.Table<K,​V> resizeView  
      (package private) int size
      Bits 0-30 are size; bit 31 is 1 if the table is being resized.
      (package private) int threshold  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Table​(int capacity, float loadFactor)  
    • Method Summary

      • Methods inherited from class java.util.concurrent.atomic.AtomicReferenceArray

        accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, length, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • threshold

        final int threshold
      • size

        volatile int size
        Bits 0-30 are size; bit 31 is 1 if the table is being resized.
    • Constructor Detail

      • Table

        private Table​(int capacity,
                      float loadFactor)