Package org.apache.logging.log4j.spi
Class LoggerRegistry.WeakMapFactory<T extends ExtendedLogger>
- java.lang.Object
-
- org.apache.logging.log4j.spi.LoggerRegistry.WeakMapFactory<T>
-
- Type Parameters:
T- subtype ofExtendedLogger
- All Implemented Interfaces:
LoggerRegistry.MapFactory<T>
- Enclosing class:
- LoggerRegistry<T extends ExtendedLogger>
@Deprecated public static class LoggerRegistry.WeakMapFactory<T extends ExtendedLogger> extends Object implements LoggerRegistry.MapFactory<T>
Deprecated.As of version2.25.0, planned to be removed!LoggerRegistry.MapFactoryimplementation usingWeakHashMap.- Since:
- 2.6
-
-
Constructor Summary
Constructors Constructor Description WeakMapFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,T>createInnerMap()Deprecated.Map<String,Map<String,T>>createOuterMap()Deprecated.voidputIfAbsent(Map<String,T> innerMap, String name, T logger)Deprecated.
-
-
-
Method Detail
-
createInnerMap
public Map<String,T> createInnerMap()
Deprecated.- Specified by:
createInnerMapin interfaceLoggerRegistry.MapFactory<T extends ExtendedLogger>
-
createOuterMap
public Map<String,Map<String,T>> createOuterMap()
Deprecated.- Specified by:
createOuterMapin interfaceLoggerRegistry.MapFactory<T extends ExtendedLogger>
-
putIfAbsent
public void putIfAbsent(Map<String,T> innerMap, String name, T logger)
Deprecated.- Specified by:
putIfAbsentin interfaceLoggerRegistry.MapFactory<T extends ExtendedLogger>
-
-