Skip navigation links

Overview | Package | Class | Tree | Index | Help
| Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.util
Class Base.CommonMonitor

`java.lang.Object
com.tangosol.util.Base.CommonMonitor`

Enclosing class:
  Base

      public static final class Base.CommonMonitor

extends java.lang.Object

A class which acts as CommonMonitor.

Field Summary
`protected int` | `m_barrier`
`protected int` | `m_nonvolatile`

Constructor Summary
`Base.CommonMonitor()`

Method Summary
`void` | `readBarrier()` Ensure all reads made after this call will have visibility to any writes made prior to a corresponding call to writeBarrier on another thread.
`void` | `writeBarrier()` Ensure all writes made prior to this call to be visible to any thread which calls the corresponding readBarrier method.

Field Detail

### m_nonvolatile

    protected int m_nonvolatile

### m_barrier

    protected volatile int m_barrier

Constructor Detail

### Base.CommonMonitor

    public Base.CommonMonitor()

Method Detail

### writeBarrier

    public final void writeBarrier()

  Ensure all writes made prior to this call to be visible to any thread which calls the corresponding readBarrier method.

### readBarrier

    public final void readBarrier()

  Ensure all reads made after this call will have visibility to any writes made prior to a corresponding call to writeBarrier on another thread.

Skip navigation links

Overview | Package | Class | Tree | Index | Help
| Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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