Package com.mchange.v2.holders
Interface ThreadSafeBooleanHolder
-
- All Known Implementing Classes:
SynchronizedBooleanHolder
,VolatileBooleanHolder
public interface ThreadSafeBooleanHolder
An interface for thread-safe wrappers for a mutable boolean.- See Also:
SynchronizedBooleanHolder
,VolatileBooleanHolder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getValue()
gets the value of the wrapped booleanvoid
setValue(boolean b)
sets the value of the wrapped boolean
-