Class SynchronizedBooleanHolder

  • All Implemented Interfaces:
    ThreadSafeBooleanHolder

    public class SynchronizedBooleanHolder
    extends java.lang.Object
    implements ThreadSafeBooleanHolder
    Deprecated.
    use classes in com.mchange.v2.holders
    An implementation of ThreadSafeBooleanHolder that synchronizes on itself for all acesses and mutations of the underlying boolean.
    See Also:
    VolatileBooleanHolder
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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