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.
-
Method Summary
-
Method Details
-
getValue
boolean getValue()gets the value of the wrapped boolean -
setValue
void setValue(boolean b) sets the value of the wrapped boolean
-