Class LogContext.LazyHolder

  • Enclosing class:
    LogContext

    private static final class LogContext.LazyHolder
    extends java.lang.Object
    This lazy holder class is required to prevent a problem due to a LogContext instance being constructed before the class init is complete.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LazyHolder()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void addStrong​(java.util.Map<java.lang.String,​LogContext.LevelRef> map, java.util.logging.Level level)  
      • Methods inherited from class java.lang.Object

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

      • INITIAL_LEVEL_MAP

        private static final java.util.HashMap<java.lang.String,​LogContext.LevelRef> INITIAL_LEVEL_MAP
    • Constructor Detail

      • LazyHolder

        private LazyHolder()
    • Method Detail

      • addStrong

        private static void addStrong​(java.util.Map<java.lang.String,​LogContext.LevelRef> map,
                                      java.util.logging.Level level)