Class ConcurrentReferenceHashMap.Segment

java.lang.Object
java.util.concurrent.locks.ReentrantLock
com.aspectran.utils.ConcurrentReferenceHashMap.Segment
All Implemented Interfaces:
Serializable, Lock
Enclosing class:
ConcurrentReferenceHashMap<K,V>

protected final class ConcurrentReferenceHashMap.Segment extends ReentrantLock
A single segment used to divide the map to allow better concurrent performance.
See Also:
  • Constructor Details

    • Segment

      public Segment(int initialSize, int resizeThreshold)
  • Method Details