Package com.mchange.v2.holders
Class VolatileBooleanHolder
java.lang.Object
com.mchange.v2.holders.VolatileBooleanHolder
- All Implemented Interfaces:
ThreadSafeBooleanHolder
,Serializable
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
VolatileBooleanHolder
public VolatileBooleanHolder()
-
-
Method Details
-
getValue
public boolean getValue()Description copied from interface:ThreadSafeBooleanHolder
gets the value of the wrapped boolean- Specified by:
getValue
in interfaceThreadSafeBooleanHolder
-
setValue
public void setValue(boolean value) Description copied from interface:ThreadSafeBooleanHolder
sets the value of the wrapped boolean- Specified by:
setValue
in interfaceThreadSafeBooleanHolder
-