Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.util
Class SegmentedHashMap.Segment

    java.lang.Object
      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()

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.