Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class SegmentedHashMap.Segment

java.lang.Object
  extended by com.tangosol.util.SegmentedHashMap.Segment

Enclosing class:
SegmentedHashMap

protected static class SegmentedHashMap.Segment
extends java.lang.Object

Segment metadata.


Field Summary
protected  int cEntries
          The number of Entry objects (including synthetics) in this segment.
protected  boolean fContend
          Are any threads contending to lock this segment?

 

Constructor Summary
protected SegmentedHashMap.Segment()
           

 

Field Detail

cEntries

protected int cEntries
The 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 fContend
Are any threads contending to lock this segment?

Constructor Detail

SegmentedHashMap.Segment

protected SegmentedHashMap.Segment()

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.