Uses of Annotation Type
org.apache.logging.log4j.util.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
Modifier and TypeMethodDescriptionboolean
MarkerManager.Log4jMarker.isInstanceOf
(String markerName) boolean
MarkerManager.Log4jMarker.isInstanceOf
(Marker marker) -
Uses of PerformanceSensitive in org.apache.logging.log4j.message
Modifier and TypeClassDescriptionclass
MapMessage<M extends MapMessage<M,
V>, V> Represents a Message that consists of a Map.interface
Allows message parameters to be iterated over without any allocation or memory copies.interface
Messages implementing this interface are reused between logging calls.final class
Implementation of theMessageFactory
interface that avoids allocating temporary objects where possible.class
Mutable Message wrapper around an Object message.class
Reusable parameterized message.class
Mutable Message wrapper around a String message.class
AStringMapMessage
typed toString
-only values. -
Uses of PerformanceSensitive in org.apache.logging.log4j.util
Modifier and TypeClassDescriptionclass
Utility for preventing primitive parameter values from being auto-boxed.Modifier and TypeMethodDescriptionstatic StringBuilder
Unbox.box
(boolean value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(byte value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(char value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(double value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(float value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(int value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(long value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(short value) Returns aStringBuilder
containing 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 ClassLoader
StackLocatorUtil.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()