Class ConcurrentHashMapV8.Segment<K,V>
- java.lang.Object
-
- java.util.concurrent.locks.ReentrantLock
-
- org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.Segment<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.concurrent.locks.Lock
- Enclosing class:
- ConcurrentHashMapV8<K,V>
static class ConcurrentHashMapV8.Segment<K,V> extends java.util.concurrent.locks.ReentrantLock implements java.io.Serializable
Stripped-down version of helper class used in previous version, declared for the sake of serialization compatibility
-
-
Field Summary
Fields Modifier and Type Field Description (package private) float
loadFactor
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description Segment(float lf)
-
Method Summary
-
Methods inherited from class java.util.concurrent.locks.ReentrantLock
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
loadFactor
final float loadFactor
-
-