Uses of Annotation Type
org.apache.logging.log4j.util.PerformanceSensitive
Packages that use PerformanceSensitive
Package
Description
Public API for Log4j 2.
Configuration of Log4j 2.
Log4j 2 Filter support.
Provides classes implementing format specifiers in conversion patterns.
Public Message Types used for Log4j 2.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
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 TypeMethodDescriptionprivate static voidMarkerManager.Log4jMarker.addParentInfo(StringBuilder sb, Marker... parents) private static booleanMarkerManager.Log4jMarker.checkParent(Marker parent, Marker marker) private static booleanbooleanMarkerManager.Log4jMarker.isInstanceOf(String markerName) booleanMarkerManager.Log4jMarker.isInstanceOf(Marker marker) -
Uses of PerformanceSensitive in org.apache.logging.log4j.core.config
Classes in org.apache.logging.log4j.core.config with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionclassData structure with similar semantics to CopyOnWriteArraySet, but giving direct access to the underlying array.Methods in org.apache.logging.log4j.core.config with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionprotected voidLoggerConfig.callAppenders(LogEvent event) private booleanAppenderControl.isFilteredByAppenderControl(LogEvent event) private booleanAppenderControl.isFilteredByLevel(LogEvent event) private booleanAppenderControl.isRecursiveCall()voidLoggerConfig.log(String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) Logs an event.voidLoggerConfig.log(String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) Logs an event. -
Uses of PerformanceSensitive in org.apache.logging.log4j.core.filter
Classes in org.apache.logging.log4j.core.filter with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionfinal classComposes and invokes one or more filters.final classThis filter causes all logging events to be dropped.final classCompares against a log level that is associated with a context value.final classThis filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.final classThis filter returns theonMatchresult if the level in theLogEventis in the range of the configured min and max levels, otherwise it returnsonMismatchvalue .classA Filter that operates on a Map.final classThis filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.final classThis filter returns the onMatch result if there is no marker in the LogEvent.final classThis filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.final classFilter based on data in a StructuredDataMessage.classFilter based on a value in the Thread Context Map (MDC).final classThis filter returns the onMatch result if the level in the LogEvent is the same or more specific than the configured level and the onMismatch value otherwise.final classFilters events that fall within a specified time period in each day. -
Uses of PerformanceSensitive in org.apache.logging.log4j.core.pattern
Classes in org.apache.logging.log4j.core.pattern with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionfinal classConverts and formats the event's date in a StringBuilder.final classConverter that encodes the output from a pattern using a specified format.final classFormats the EndOfBatch.classEquals pattern converter.final classEquals ignore case pattern converter.final classEquals pattern converter.final classFormats a date by delegating toDatePatternConverter.final classModifies the output of a pattern converter for a specified minimum and maximum width and alignment.final classHighlight pattern converter.final classFormats an integer.classReturns the event's level in a StringBuilder.final classFormats a line separator.final classFormats a string literal.final classFormats the Logger FQCN.final classFormats a logger name.final classReturns events' full marker string in a StringBuilder.final classAppends an event's maker name to a StringBuilder.final classMax length pattern converter.final classAble to handle the contents of the LogEvent's MDC and either output the entire contents of the properties in a similar format to the java.util.Hashtable.toString(), or to output the value of a specific key within the property bundle when this pattern converter has the option set.classReturns the event's rendered message in a StringBuilder.classNameAbbreviator generates abbreviated logger and class names.classAbstract base class for other pattern converters which can return only parts of their name.final classConverts and formats the event's nanoTime in a StringBuilder.classReturns the relative time in milliseconds since JVM Startup.final classEquals pattern converter.final classFormats the event sequence number.(package private) classFormats a string literal without substitution.final classStyle pattern converter.final classFormats the event thread ID.final classFormats the event thread name.final classFormats the event thread priority.final classVariablesNotEmpty pattern converter.Methods in org.apache.logging.log4j.core.pattern with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionvoidAbstractStyleNameConverter.format(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.voidNdcPatternConverter.format(LogEvent event, StringBuilder toAppendTo) -
Uses of PerformanceSensitive in org.apache.logging.log4j.core.time
Classes in org.apache.logging.log4j.core.time with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionclassAn instantaneous point on the time line, used for high-precision log event timestamps. -
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.spi
Methods in org.apache.logging.log4j.spi with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionprivate StackTraceElementAbstractLogger.getLocation(String fqcn) private voidAbstractLogger.logMessageSafely(String fqcn, Level level, Marker marker, Message message, Throwable throwable) private voidAbstractLogger.logMessageTrackRecursion(String fqcn, Level level, Marker marker, Message message, Throwable throwable) private voidAbstractLogger.tryLogMessage(String fqcn, StackTraceElement location, Level level, Marker marker, Message message, Throwable throwable) -
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()