Internal utility classes for the Log4j 2 API. Note that the use of any classes in this package is not supported. There are no guarantees for binary or logical compatibility in this package.
Interface Summary Interface Description BiConsumer<K,V>An operation that accepts two input arguments and returns no result. IndexedReadOnlyStringMapAn extension of
ReadOnlyStringMapthat imposes a total ordering on its keys.
IndexedStringMapAn extension of
StringMapthat imposes a total ordering on its keys.
MessageSupplierClasses implementing this interface know how to supply
MultiFormatStringBuilderFormattableA Message that can render itself in more than one way. PropertySourceA source for global configuration properties. ReadOnlyStringMapA read-only collection of String keys mapped to values of arbitrary type. StringBuilderFormattableObjects that implement this interface can be converted to text, ideally without allocating temporary objects. StringMapExposes methods to add and remove key-value pairs to and from
Supplier<T>Consider this class private. Classes implementing this interface know how to supply a value. TriConsumer<K,V,S>An operation that accepts three input arguments and returns no result.
Class Summary Class Description ActivatorConsider this class private. OSGi bundle activator. Base64UtilBase64 encodes Strings. CharsConsider this class private. ConstantsLog4j API Constants. EnglishEnumsConsider this class private. EnvironmentPropertySourcePropertySource implementation that uses environment variables as a source. FilteredObjectInputStreamExtends
ObjectInputStreamto only allow some built-in Log4j classes and caller-specified classes to be deserialized.
LambdaUtilUtility class for lambda support. LoaderUtilConsider this class private. Utility class for ClassLoaders. ProcessIdUtil PropertiesPropertySourcePropertySource backed by a
PropertiesUtilConsider this class private. PropertyFilePropertySourcePropertySource backed by a properties file. PropertySource.ComparatorComparator for ordering PropertySource instances by priority. PropertySource.UtilUtility methods useful for PropertySource implementations. ProviderUtilConsider this class private. Utility class for Log4j
SortedArrayStringMapConsider this class private. Array-based implementation of the
StackLocatorConsider this class private. Provides various methods to determine the caller class. StackLocatorUtilConsider this class private. Provides various methods to determine the caller class. StringBuildersConsider this class private. StringsConsider this class private. SystemPropertiesPropertySourcePropertySource backed by the current system properties. TimerPrimarily used in unit tests, but can be used to track elapsed time for a request or portion of any other operation so long as all the timer methods are called on the same thread in which it was started. UnboxUtility for preventing primitive parameter values from being auto-boxed.
Enum Summary Enum Description Timer.Status
Annotation Types Summary Annotation Type Description PerformanceSensitiveIndicates that a particular annotated construct was written with certain performance constraints in mind that should be considered when modifying or testing.