Class ThreadLocalBoolean


  • public class ThreadLocalBoolean
    extends java.lang.ThreadLocal<java.lang.Boolean>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean defaultValue  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Boolean initialValue()  
      • Methods inherited from class java.lang.ThreadLocal

        get, remove, set, withInitial
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • defaultValue

        private final boolean defaultValue
    • Constructor Detail

      • ThreadLocalBoolean

        public ThreadLocalBoolean()
      • ThreadLocalBoolean

        public ThreadLocalBoolean​(boolean defaultValue)
    • Method Detail

      • initialValue

        protected java.lang.Boolean initialValue()
        Overrides:
        initialValue in class java.lang.ThreadLocal<java.lang.Boolean>