Package com.tangosol.util
Class SegmentedHashMap.Segment
java.lang.Object
com.tangosol.util.SegmentedHashMap.Segment
- Enclosing class:
SegmentedHashMap
Segment metadata.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
cEntries
protected int cEntriesThe number of Entry objects (including synthetics) in this segment.Note: On a JSR-133 non-compliant JVM, this value may be stale to some extent. It is only used as an internal growth statistic, so this is acceptable. On JSR-133 compliant JVMs, the segment lock under which this value is modified performs an atomic CAS which would guarantee that writes get flushed.
-
fContend
protected volatile boolean fContendAre any threads contending to lock this segment?
-
-
Constructor Details
-
Segment
protected Segment()
-