Class ConcurrentHashMapUnsafe.ResizeContainer
java.lang.Object
org.eclipse.collections.impl.map.mutable.ConcurrentHashMapUnsafe.ResizeContainer
- Enclosing class:
ConcurrentHashMapUnsafe<K,V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Object[]private static final intprivate final AtomicIntegerprivate final AtomicInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintvoidbooleanintvoidvoid
-
Field Details
-
QUEUE_INCREMENT
private static final int QUEUE_INCREMENT -
resizers
-
nextArray
-
queuePosition
-
-
Constructor Details
-
ResizeContainer
-
-
Method Details
-
incrementResizer
public void incrementResizer() -
decrementResizerAndNotify
public void decrementResizerAndNotify() -
getQueuePosition
public int getQueuePosition() -
subtractAndGetQueuePosition
public int subtractAndGetQueuePosition() -
waitForAllResizers
public void waitForAllResizers() -
isNotDone
public boolean isNotDone() -
zeroOutQueuePosition
public void zeroOutQueuePosition()
-