Uses of Class
org.apache.logging.log4j.core.appender.rolling.action.Duration
Packages that use Duration
Package
Description
-
Uses of Duration in org.apache.logging.log4j.core.appender.rolling.action
Classes in org.apache.logging.log4j.core.appender.rolling.action that implement interfaces with type arguments of type DurationFields in org.apache.logging.log4j.core.appender.rolling.action declared as DurationModifier and TypeFieldDescriptionprivate DurationIfLastModified.Builder.agestatic final DurationDuration.ZERODeprecated.Constant for a duration of zero.Methods in org.apache.logging.log4j.core.appender.rolling.action that return DurationModifier and TypeMethodDescriptionprivate static DurationDuration.create(long seconds) Deprecated.Obtains an instance ofDurationusing seconds.private static DurationDuration.create(long daysAsSecs, long hoursAsSecs, long minsAsSecs, long secs) Deprecated.IfLastModified.getAge()Deprecated.since 2.24.0.static DurationDuration.ofMillis(long millis) Deprecated.static DurationDuration.parse(CharSequence text) Deprecated.Obtains aDurationfrom a text string such asPnDTnHnMnS.Methods in org.apache.logging.log4j.core.appender.rolling.action with parameters of type DurationModifier and TypeMethodDescriptionintDeprecated.static IfLastModifiedIfLastModified.createAgeCondition(Duration age, PathCondition... pathConditions) Deprecated.since 2.24.0 useIfLastModified.newBuilder()instead. -
Uses of Duration in org.apache.logging.log4j.core.config.plugins.convert
Classes in org.apache.logging.log4j.core.config.plugins.convert that implement interfaces with type arguments of type DurationModifier and TypeClassDescriptionstatic classDeprecated.since 2.24.0.Methods in org.apache.logging.log4j.core.config.plugins.convert that return Duration
Durationinstead.