Class ConcurrentReferenceHashMap.Segment

java.lang.Object
java.util.concurrent.locks.ReentrantLock
org.springframework.util.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.
Since:
3.2
Author:
Phillip Webb, Juergen Hoeller, Brian Clozel
See Also:
  • Constructor Details

    • Segment

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