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 TypeFieldDescriptionprivate final Duration
IfLastModified.age
static final Duration
Duration.ZERO
Constant for a duration of zero.Methods in org.apache.logging.log4j.core.appender.rolling.action that return DurationModifier and TypeMethodDescriptionprivate static Duration
Duration.create
(long seconds) Obtains an instance ofDuration
using seconds.private static Duration
Duration.create
(long daysAsSecs, long hoursAsSecs, long minsAsSecs, long secs) IfLastModified.getAge()
static Duration
Duration.parse
(CharSequence text) 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
static IfLastModified
IfLastModified.createAgeCondition
(Duration age, PathCondition... nestedConditions) Create an IfLastModified condition.Constructors in org.apache.logging.log4j.core.appender.rolling.action with parameters of type DurationModifierConstructorDescriptionprivate
IfLastModified
(Duration age, PathCondition[] nestedConditions) -
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