Skip navigation links
com.tangosol.util
Class Base.CommonMonitor
java.lang.Object
com.tangosol.util.Base.CommonMonitor
- Enclosing class:
- Base
-
public static final class Base.CommonMonitor
- extends Object
A class which acts as 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. |
m_nonvolatile
protected int m_nonvolatile
m_barrier
protected volatile int m_barrier
Base.CommonMonitor
public Base.CommonMonitor()
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
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.