Uses of Class
org.apache.logging.log4j.core.appender.rolling.action.Duration
Packages that use Duration
Package
Description
Support classes for the Rolling File Appender.
TypeConverter plugins for converter strings into various types.
-
Uses of Duration in org.apache.logging.log4j.core.appender.rolling.action
Fields in org.apache.logging.log4j.core.appender.rolling.action declared as DurationModifier and TypeFieldDescriptionstatic final Duration
Duration.ZERO
Deprecated.Constant for a duration of zero.Methods in org.apache.logging.log4j.core.appender.rolling.action that return DurationModifier and TypeMethodDescriptionIfLastModified.getAge()
Deprecated.since 2.24.0.static Duration
Duration.ofMillis
(long millis) Deprecated.static Duration
Duration.parse
(CharSequence text) Deprecated.Obtains aDuration
from a text string such asPnDTnHnMnS
.Methods in org.apache.logging.log4j.core.appender.rolling.action with parameters of type DurationModifier and TypeMethodDescriptionint
Deprecated.static IfLastModified
IfLastModified.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
Methods in org.apache.logging.log4j.core.config.plugins.convert that return Duration