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 voidMarkerManager.Log4jMarker. addParentInfo(java.lang.StringBuilder sb, Marker... parents)private static booleanMarkerManager.Log4jMarker. checkParent(Marker parent, Marker marker)private static booleanMarkerManager.Log4jMarker. contains(Marker parent, Marker... localParents)booleanMarkerManager.Log4jMarker. isInstanceOf(java.lang.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 PerformanceSensitive Modifier and Type Class Description classAppenderControlArraySetData 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 voidLoggerConfig. callAppenders(LogEvent event)private booleanAppenderControl. isFilteredByAppenderControl(LogEvent event)private booleanAppenderControl. isFilteredByLevel(LogEvent event)private booleanAppenderControl. isRecursiveCall()voidLoggerConfig. 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.voidLoggerConfig. 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 classCompositeFilterComposes and invokes one or more filters.classDenyAllFilterThis filter causes all logging events to be dropped.classDynamicThresholdFilterCompares against a log level that is associated with a context value.classLevelMatchFilterThis filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.classLevelRangeFilterThis filter returns theonMatchresult if the level in theLogEventis in the range of the configured min and max levels, otherwise it returnsonMismatchvalue .classMapFilterA Filter that operates on a Map.classMarkerFilterThis filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.classNoMarkerFilterThis filter returns the onMatch result if there is no marker in the LogEvent.classStringMatchFilterThis filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.classStructuredDataFilterFilter based on data in a StructuredDataMessage.classThreadContextMapFilterFilter based on a value in the Thread Context Map (MDC).classThresholdFilterThis 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.classTimeFilterFilters 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 classDatePatternConverterConverts and formats the event's date in a StringBuilder.classEncodingPatternConverterConverter that encodes the output from a pattern using a specified format.classEndOfBatchPatternConverterFormats the EndOfBatch.classEqualsBaseReplacementConverterEquals pattern converter.classEqualsIgnoreCaseReplacementConverterEquals ignore case pattern converter.classEqualsReplacementConverterEquals pattern converter.classFileDatePatternConverterFormats a date by delegating toDatePatternConverter.classFormattingInfoModifies the output of a pattern converter for a specified minimum and maximum width and alignment.classHighlightConverterHighlight pattern converter.classIntegerPatternConverterFormats an integer.classLevelPatternConverterReturns the event's level in a StringBuilder.classLineSeparatorPatternConverterFormats a line separator.classLiteralPatternConverterFormats a string literal.classLoggerFqcnPatternConverterFormats the Logger FQCN.classLoggerPatternConverterFormats a logger name.classMarkerPatternConverterReturns events' full marker string in a StringBuilder.classMarkerSimpleNamePatternConverterAppends an event's maker name to a StringBuilder.classMaxLengthConverterMax length pattern converter.classMdcPatternConverterAble 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.classMessagePatternConverterReturns the event's rendered message in a StringBuilder.classNameAbbreviatorNameAbbreviator generates abbreviated logger and class names.classNamePatternConverterAbstract base class for other pattern converters which can return only parts of their name.classNanoTimePatternConverterConverts and formats the event's nanoTime in a StringBuilder.classRelativeTimePatternConverterReturns the relative time in milliseconds since JVM Startup.classRepeatPatternConverterEquals pattern converter.classSequenceNumberPatternConverterFormats the event sequence number.(package private) classSimpleLiteralPatternConverterFormats a string literal without substitution.classStyleConverterStyle pattern converter.classThreadIdPatternConverterFormats the event thread ID.classThreadNamePatternConverterFormats the event thread name.classThreadPriorityPatternConverterFormats the event thread priority.classVariablesNotEmptyReplacementConverterVariablesNotEmpty pattern converter.Methods in org.apache.logging.log4j.core.pattern with annotations of type PerformanceSensitive Modifier and Type Method Description voidAbstractStyleNameConverter. format(LogEvent event, java.lang.StringBuilder toAppendTo)Formats an event into a string buffer.voidNdcPatternConverter. 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 classMutableInstantAn 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 classMapMessage<M extends MapMessage<M,V>,V>Represents a Message that consists of a Map.interfaceParameterVisitableAllows message parameters to be iterated over without any allocation or memory copies.interfaceReusableMessageMessages implementing this interface are reused between logging calls.classReusableMessageFactoryImplementation of theMessageFactoryinterface that avoids allocating temporary objects where possible.classReusableObjectMessageMutable Message wrapper around an Object message.classReusableParameterizedMessageReusable parameterized message.classReusableSimpleMessageMutable Message wrapper around a String message.classStringMapMessageAStringMapMessagetyped 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.StackTraceElementAbstractLogger. getLocation(java.lang.String fqcn)private voidAbstractLogger. logMessageSafely(java.lang.String fqcn, Level level, Marker marker, Message message, java.lang.Throwable throwable)private voidAbstractLogger. logMessageTrackRecursion(java.lang.String fqcn, Level level, Marker marker, Message message, java.lang.Throwable throwable)private voidAbstractLogger. 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 classUnboxUtility 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.StringBuilderUnbox. box(boolean value)Returns aStringBuildercontaining the text representation of the specified primitive value.static java.lang.StringBuilderUnbox. box(byte value)Returns aStringBuildercontaining the text representation of the specified primitive value.static java.lang.StringBuilderUnbox. box(char value)Returns aStringBuildercontaining the text representation of the specified primitive value.static java.lang.StringBuilderUnbox. box(double value)Returns aStringBuildercontaining the text representation of the specified primitive value.static java.lang.StringBuilderUnbox. box(float value)Returns aStringBuildercontaining the text representation of the specified primitive value.static java.lang.StringBuilderUnbox. box(int value)Returns aStringBuildercontaining the text representation of the specified primitive value.static java.lang.StringBuilderUnbox. box(long value)Returns aStringBuildercontaining the text representation of the specified primitive value.static java.lang.StringBuilderUnbox. box(short value)Returns aStringBuildercontaining 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.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.java.util.Deque<java.lang.Class<?>>StackLocator. getCurrentStackTrace()static java.util.Deque<java.lang.Class<?>>StackLocatorUtil. getCurrentStackTrace()
-