Uses of Interface
org.apache.logging.log4j.core.time.Instant
Packages that use Instant
Package
Description
-
Uses of Instant in org.apache.log4j.bridge
Methods in org.apache.log4j.bridge that return Instant -
Uses of Instant in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return InstantModifier and TypeMethodDescriptionAbstractLogEvent.getInstant()LogEvent.getInstant()Returns the Instant when the message was logged. -
Uses of Instant in org.apache.logging.log4j.core.async
Methods in org.apache.logging.log4j.core.async that return Instant -
Uses of Instant in org.apache.logging.log4j.core.impl
Methods in org.apache.logging.log4j.core.impl that return InstantModifier and TypeMethodDescriptionLog4jLogEvent.getInstant()Returns the Instant when the message was logged.MutableLogEvent.getInstant()Methods in org.apache.logging.log4j.core.impl with parameters of type Instant -
Uses of Instant in org.apache.logging.log4j.core.jackson
Methods in org.apache.logging.log4j.core.jackson that return Instant -
Uses of Instant in org.apache.logging.log4j.core.layout
Methods in org.apache.logging.log4j.core.layout that return Instant -
Uses of Instant in org.apache.logging.log4j.core.pattern
Methods in org.apache.logging.log4j.core.pattern with parameters of type InstantModifier and TypeMethodDescriptionvoidDatePatternConverter.format(Instant instant, StringBuilder buffer) Deprecated. -
Uses of Instant in org.apache.logging.log4j.core.time
Classes in org.apache.logging.log4j.core.time that implement InstantModifier and TypeClassDescriptionclassAn instantaneous point on the time line, used for high-precision log event timestamps.Methods in org.apache.logging.log4j.core.time with parameters of type Instant -
Uses of Instant in org.apache.logging.log4j.core.util.datetime
Methods in org.apache.logging.log4j.core.util.datetime with parameters of type InstantModifier and TypeMethodDescriptionFixedDateFormat.formatInstant(Instant instant) Deprecated.intFixedDateFormat.formatInstant(Instant instant, char[] buffer, int startPos) Deprecated. -
Uses of Instant in org.apache.logging.log4j.core.util.internal.instant
Fields in org.apache.logging.log4j.core.util.internal.instant with type parameters of type InstantModifier and TypeFieldDescriptionInstantPatternThreadLocalCachedFormatter.epochInstantExtractorprivate final BiConsumer<Instant, StringBuilder> InstantNumberFormatter.formatterprivate final BiConsumer<StringBuilder, Instant> InstantPatternLegacyFormatter.formatterMethods in org.apache.logging.log4j.core.util.internal.instant that return types with arguments of type InstantModifier and TypeMethodDescriptionprivate static BiConsumer<StringBuilder, Instant> InstantPatternLegacyFormatter.adaptFixedFormatter(FixedDateFormat formatter) private static BiConsumer<StringBuilder, Instant> InstantPatternLegacyFormatter.createFastFormatter(String pattern, Locale locale, TimeZone timeZone) private static BiConsumer<StringBuilder, Instant> InstantPatternLegacyFormatter.createFormatter(String pattern, Locale locale, TimeZone timeZone) Methods in org.apache.logging.log4j.core.util.internal.instant with parameters of type InstantModifier and TypeMethodDescriptionprivate static InstantPatternFormatterInstantPatternDynamicFormatter.createFormatter(String pattern, Locale locale, TimeZone timeZone, ChronoUnit precisionThreshold, Instant creationInstant) private static InstantPatternDynamicFormatter.TimestampedFormatterInstantPatternDynamicFormatter.createTimestampedFormatter(String pattern, Locale locale, TimeZone timeZone, @Nullable Instant creationInstant) private static longInstantNumberFormatter.epochNanos(Instant instant) default Stringprivate voidInstantPatternDynamicFormatter.SecondPatternSequence.formatFractionalDigits(StringBuilder buffer, Instant instant) private static voidInstantPatternDynamicFormatter.SecondPatternSequence.formatMillis(StringBuilder buffer, Instant instant) private static voidInstantPatternDynamicFormatter.SecondPatternSequence.formatPaddedSeconds(StringBuilder buffer, Instant instant) voidInstantFormatter.formatTo(StringBuilder buffer, Instant instant) voidInstantNumberFormatter.formatTo(StringBuilder buffer, Instant instant) voidInstantPatternDynamicFormatter.formatTo(StringBuilder buffer, Instant instant) voidInstantPatternLegacyFormatter.formatTo(StringBuilder buffer, Instant instant) voidInstantPatternThreadLocalCachedFormatter.formatTo(StringBuilder buffer, Instant instant) private static voidInstantPatternDynamicFormatter.SecondPatternSequence.formatUnpaddedSeconds(StringBuilder buffer, Instant instant) private InstantPatternFormatterInstantPatternDynamicFormatter.getEffectiveFormatter(Instant instant) private static longInstantPatternDynamicFormatter.toEpochMinutes(Instant instant) private static TemporalAccessorInstantPatternDynamicFormatter.toTemporalAccessor(Instant instant) Constructor parameters in org.apache.logging.log4j.core.util.internal.instant with type arguments of type InstantModifierConstructorDescriptionprivateInstantNumberFormatter(ChronoUnit precision, BiConsumer<Instant, StringBuilder> formatter) privateInstantPatternThreadLocalCachedFormatter(InstantPatternFormatter formatter, Function<Instant, Long> epochInstantExtractor, ChronoUnit precision) -
Uses of Instant in org.apache.logging.log4j.layout.template.json.util
Methods in org.apache.logging.log4j.layout.template.json.util with parameters of type InstantModifier and TypeMethodDescriptionDeprecated.voidInstantFormatter.format(Instant instant, StringBuilder stringBuilder) Deprecated.voidInstantFormatter.Formatter.format(Instant instant, StringBuilder stringBuilder) voidInstantFormatter.JavaDateTimeFormatter.format(Instant instant, StringBuilder stringBuilder) voidInstantFormatter.Log4jFastFormatter.format(Instant instant, StringBuilder stringBuilder) voidInstantFormatter.Log4jFixedFormatter.format(Instant instant, StringBuilder stringBuilder) private voidInstantFormatter.JavaDateTimeFormatter.formatInstant(Instant instant, StringBuilder stringBuilder) booleanInstantFormatter.Formatter.isInstantMatching(Instant instant1, Instant instant2) booleanInstantFormatter.isInstantMatching(Instant instant1, Instant instant2) Deprecated.Checks if the givenInstants are equal from the point of view of the employed formatter.booleanInstantFormatter.JavaDateTimeFormatter.isInstantMatching(Instant instant1, Instant instant2) booleanInstantFormatter.Log4jFastFormatter.isInstantMatching(Instant instant1, Instant instant2) booleanInstantFormatter.Log4jFixedFormatter.isInstantMatching(Instant instant1, Instant instant2)
2.25.0, this method is deprecated and planned to be removed in the next major release.