Uses of Class
org.apache.logging.log4j.util.PerformanceSensitive
-
Packages that use PerformanceSensitive Package Description org.apache.logging.log4j Public API for Log4j 2.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.filter Log4j 2 Filter support.org.apache.logging.log4j.core.pattern Provides classes implementing format specifiers in conversion patterns.org.apache.logging.log4j.core.time org.apache.logging.log4j.message Public Message Types used for Log4j 2.org.apache.logging.log4j.spi Internal interfaces and classes to be used by authors of logging implementations or for internal use by API classes.org.apache.logging.log4j.util 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 PerformanceSensitive Modifier and Type Method Description private static void
MarkerManager.Log4jMarker. addParentInfo(java.lang.StringBuilder sb, Marker... parents)
private static boolean
MarkerManager.Log4jMarker. checkParent(Marker parent, Marker marker)
private static boolean
MarkerManager.Log4jMarker. contains(Marker parent, Marker... localParents)
boolean
MarkerManager.Log4jMarker. isInstanceOf(java.lang.String markerName)
boolean
MarkerManager.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 PerformanceSensitive Modifier and Type Class Description class
AppenderControlArraySet
Data 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 PerformanceSensitive Modifier and Type Method Description protected void
LoggerConfig. callAppenders(LogEvent event)
private boolean
AppenderControl. isFilteredByAppenderControl(LogEvent event)
private boolean
AppenderControl. isFilteredByLevel(LogEvent event)
private boolean
AppenderControl. isRecursiveCall()
void
LoggerConfig. log(java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)
Logs an event.void
LoggerConfig. log(java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.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 PerformanceSensitive Modifier and Type Class Description class
CompositeFilter
Composes and invokes one or more filters.class
DenyAllFilter
This filter causes all logging events to be dropped.class
DynamicThresholdFilter
Compares against a log level that is associated with a context value.class
LevelMatchFilter
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.class
LevelRangeFilter
This filter returns theonMatch
result if the level in theLogEvent
is in the range of the configured min and max levels, otherwise it returnsonMismatch
value .class
MapFilter
A Filter that operates on a Map.class
MarkerFilter
This filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.class
NoMarkerFilter
This filter returns the onMatch result if there is no marker in the LogEvent.class
StringMatchFilter
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.class
StructuredDataFilter
Filter based on data in a StructuredDataMessage.class
ThreadContextMapFilter
Filter based on a value in the Thread Context Map (MDC).class
ThresholdFilter
This 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.class
TimeFilter
Filters 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 PerformanceSensitive Modifier and Type Class Description class
DatePatternConverter
Converts and formats the event's date in a StringBuilder.class
EncodingPatternConverter
Converter that encodes the output from a pattern using a specified format.class
EndOfBatchPatternConverter
Formats the EndOfBatch.class
EqualsBaseReplacementConverter
Equals pattern converter.class
EqualsIgnoreCaseReplacementConverter
Equals ignore case pattern converter.class
EqualsReplacementConverter
Equals pattern converter.class
FileDatePatternConverter
Formats a date by delegating toDatePatternConverter
.class
FormattingInfo
Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.class
HighlightConverter
Highlight pattern converter.class
IntegerPatternConverter
Formats an integer.class
LevelPatternConverter
Returns the event's level in a StringBuilder.class
LineSeparatorPatternConverter
Formats a line separator.class
LiteralPatternConverter
Formats a string literal.class
LoggerFqcnPatternConverter
Formats the Logger FQCN.class
LoggerPatternConverter
Formats a logger name.class
MarkerPatternConverter
Returns events' full marker string in a StringBuilder.class
MarkerSimpleNamePatternConverter
Appends an event's maker name to a StringBuilder.class
MaxLengthConverter
Max length pattern converter.class
MdcPatternConverter
Able 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.class
MessagePatternConverter
Returns the event's rendered message in a StringBuilder.class
NameAbbreviator
NameAbbreviator generates abbreviated logger and class names.class
NamePatternConverter
Abstract base class for other pattern converters which can return only parts of their name.class
NanoTimePatternConverter
Converts and formats the event's nanoTime in a StringBuilder.class
RelativeTimePatternConverter
Returns the relative time in milliseconds since JVM Startup.class
RepeatPatternConverter
Equals pattern converter.class
SequenceNumberPatternConverter
Formats the event sequence number.(package private) class
SimpleLiteralPatternConverter
Formats a string literal without substitution.class
StyleConverter
Style pattern converter.class
ThreadIdPatternConverter
Formats the event thread ID.class
ThreadNamePatternConverter
Formats the event thread name.class
ThreadPriorityPatternConverter
Formats the event thread priority.class
VariablesNotEmptyReplacementConverter
VariablesNotEmpty pattern converter.Methods in org.apache.logging.log4j.core.pattern with annotations of type PerformanceSensitive Modifier and Type Method Description void
AbstractStyleNameConverter. format(LogEvent event, java.lang.StringBuilder toAppendTo)
Formats an event into a string buffer.void
NdcPatternConverter. format(LogEvent event, java.lang.StringBuilder toAppendTo)
-
Uses of PerformanceSensitive in org.apache.logging.log4j.core.time
Classes in org.apache.logging.log4j.core.time with annotations of type PerformanceSensitive Modifier and Type Class Description class
MutableInstant
An 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 PerformanceSensitive Modifier and Type Class Description class
MapMessage<M extends MapMessage<M,V>,V>
Represents a Message that consists of a Map.interface
ParameterVisitable
Allows message parameters to be iterated over without any allocation or memory copies.interface
ReusableMessage
Messages implementing this interface are reused between logging calls.class
ReusableMessageFactory
Implementation of theMessageFactory
interface that avoids allocating temporary objects where possible.class
ReusableObjectMessage
Mutable Message wrapper around an Object message.class
ReusableParameterizedMessage
Reusable parameterized message.class
ReusableSimpleMessage
Mutable Message wrapper around a String message.class
StringMapMessage
AStringMapMessage
typed toString
-only values. -
Uses of PerformanceSensitive in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi with annotations of type PerformanceSensitive Modifier and Type Method Description private java.lang.StackTraceElement
AbstractLogger. getLocation(java.lang.String fqcn)
private void
AbstractLogger. logMessageSafely(java.lang.String fqcn, Level level, Marker marker, Message message, java.lang.Throwable throwable)
private void
AbstractLogger. logMessageTrackRecursion(java.lang.String fqcn, Level level, Marker marker, Message message, java.lang.Throwable throwable)
private void
AbstractLogger. tryLogMessage(java.lang.String fqcn, java.lang.StackTraceElement location, Level level, Marker marker, Message message, java.lang.Throwable throwable)
-
Uses of PerformanceSensitive in org.apache.logging.log4j.util
Classes in org.apache.logging.log4j.util with annotations of type PerformanceSensitive Modifier and Type Class Description class
Unbox
Utility for preventing primitive parameter values from being auto-boxed.Methods in org.apache.logging.log4j.util with annotations of type PerformanceSensitive Modifier and Type Method Description static java.lang.StringBuilder
Unbox. box(boolean value)
Returns aStringBuilder
containing the text representation of the specified primitive value.static java.lang.StringBuilder
Unbox. box(byte value)
Returns aStringBuilder
containing the text representation of the specified primitive value.static java.lang.StringBuilder
Unbox. box(char value)
Returns aStringBuilder
containing the text representation of the specified primitive value.static java.lang.StringBuilder
Unbox. box(double value)
Returns aStringBuilder
containing the text representation of the specified primitive value.static java.lang.StringBuilder
Unbox. box(float value)
Returns aStringBuilder
containing the text representation of the specified primitive value.static java.lang.StringBuilder
Unbox. box(int value)
Returns aStringBuilder
containing the text representation of the specified primitive value.static java.lang.StringBuilder
Unbox. box(long value)
Returns aStringBuilder
containing the text representation of the specified primitive value.static java.lang.StringBuilder
Unbox. box(short value)
Returns aStringBuilder
containing the text representation of the specified primitive value.java.lang.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.java.lang.Class<?>
StackLocator. getCallerClass(java.lang.Class<?> anchor)
java.lang.Class<?>
StackLocator. getCallerClass(java.lang.Class<?> sentinelClass, java.util.function.Predicate<java.lang.Class<?>> callerPredicate)
java.lang.Class<?>
StackLocator. getCallerClass(java.lang.String fqcn, java.lang.String pkg)
static java.lang.Class<?>
StackLocatorUtil. getCallerClass(int depth)
static java.lang.Class<?>
StackLocatorUtil. getCallerClass(java.lang.Class<?> anchor)
static java.lang.Class<?>
StackLocatorUtil. getCallerClass(java.lang.Class<?> sentinelClass, java.util.function.Predicate<java.lang.Class<?>> callerPredicate)
Search for a calling class.static java.lang.Class<?>
StackLocatorUtil. getCallerClass(java.lang.String fqcn)
Equivalent toStackLocatorUtil.getCallerClass(String, String)
with an emptypkg
.static java.lang.Class<?>
StackLocatorUtil. getCallerClass(java.lang.String fqcn, java.lang.String pkg)
Search for a calling class.static java.lang.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.java.util.Deque<java.lang.Class<?>>
StackLocator. getCurrentStackTrace()
static java.util.Deque<java.lang.Class<?>>
StackLocatorUtil. getCurrentStackTrace()
-