Uses of Annotation Type
org.apache.logging.log4j.util.PerformanceSensitive
Packages that use PerformanceSensitive
Package
Description
Public API for Log4j 2.
Public Message Types used for Log4j 2.
Internal utility classes for the Log4j 2 API.
-
Uses of PerformanceSensitive in org.apache.logging.log4j
Methods in org.apache.logging.log4j with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionbooleanMarkerManager.Log4jMarker.isInstanceOf(String markerName) booleanMarkerManager.Log4jMarker.isInstanceOf(Marker marker) -
Uses of PerformanceSensitive in org.apache.logging.log4j.message
Classes in org.apache.logging.log4j.message with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionclassMapMessage<M extends MapMessage<M,V>, V> Represents a Message that consists of a Map.interfaceAllows message parameters to be iterated over without any allocation or memory copies.interfaceMessages implementing this interface are reused between logging calls.final classImplementation of theMessageFactoryinterface that avoids allocating temporary objects where possible.classMutable Message wrapper around an Object message.classReusable parameterized message.classMutable Message wrapper around a String message.classAStringMapMessagetyped toString-only values. -
Uses of PerformanceSensitive in org.apache.logging.log4j.util
Classes in org.apache.logging.log4j.util with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionclassUtility for preventing primitive parameter values from being auto-boxed.Methods in org.apache.logging.log4j.util with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionstatic StringBuilderUnbox.box(boolean value) Returns aStringBuildercontaining the text representation of the specified primitive value.static StringBuilderUnbox.box(byte value) Returns aStringBuildercontaining the text representation of the specified primitive value.static StringBuilderUnbox.box(char value) Returns aStringBuildercontaining the text representation of the specified primitive value.static StringBuilderUnbox.box(double value) Returns aStringBuildercontaining the text representation of the specified primitive value.static StringBuilderUnbox.box(float value) Returns aStringBuildercontaining the text representation of the specified primitive value.static StringBuilderUnbox.box(int value) Returns aStringBuildercontaining the text representation of the specified primitive value.static StringBuilderUnbox.box(long value) Returns aStringBuildercontaining the text representation of the specified primitive value.static StringBuilderUnbox.box(short value) Returns aStringBuildercontaining the text representation of the specified primitive value.Class<?>StackLocator.getCallerClass(int depth) Gets the Class of the method that called this method at the location up the call stack by the given stack frame depth.Class<?>StackLocator.getCallerClass(Class<?> anchor) Class<?>StackLocator.getCallerClass(Class<?> sentinelClass, Predicate<Class<?>> callerPredicate) Class<?>StackLocator.getCallerClass(String fqcn, String pkg) static Class<?>StackLocatorUtil.getCallerClass(int depth) static Class<?>StackLocatorUtil.getCallerClass(Class<?> anchor) static Class<?>StackLocatorUtil.getCallerClass(Class<?> sentinelClass, Predicate<Class<?>> callerPredicate) Search for a calling class.static Class<?>StackLocatorUtil.getCallerClass(String fqcn) Equivalent toStackLocatorUtil.getCallerClass(String, String)with an emptypkg.static Class<?>StackLocatorUtil.getCallerClass(String fqcn, String pkg) Search for a calling class.static ClassLoaderStackLocatorUtil.getCallerClassLoader(int depth) Gets the ClassLoader of the class that called this method at the location up the call stack by the given stack frame depth.StackLocator.getCurrentStackTrace()StackLocatorUtil.getCurrentStackTrace()