|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mchange.v1.lang.holders.SynchronizedBooleanHolder
public class SynchronizedBooleanHolder
An implementation of ThreadSafeBooleanHolder that synchronizes on itself for all acesses and mutations of the underlying boolean.
VolatileBooleanHolder
Constructor Summary | |
---|---|
SynchronizedBooleanHolder()
Deprecated. |
Method Summary | |
---|---|
boolean |
getValue()
Deprecated. gets the value of the wrapped boolean |
void |
setValue(boolean b)
Deprecated. sets the value of the wrapped boolean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SynchronizedBooleanHolder()
Method Detail |
---|
public boolean getValue()
ThreadSafeBooleanHolder
getValue
in interface ThreadSafeBooleanHolder
public void setValue(boolean b)
ThreadSafeBooleanHolder
setValue
in interface ThreadSafeBooleanHolder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |