Uses of Class
org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Packages that use Duration Package Description org.apache.logging.log4j.core.appender.rolling.action Support classes for the Rolling File Appender.org.apache.logging.log4j.core.config.plugins.convert 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 Duration Modifier and Type Field Description private Duration
IfLastModified. age
static Duration
Duration. ZERO
Constant for a duration of zero.Methods in org.apache.logging.log4j.core.appender.rolling.action that return Duration Modifier and Type Method Description private 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)
Duration
IfLastModified. getAge()
static Duration
Duration. parse(java.lang.CharSequence text)
Obtains aDuration
from a text string such asPnDTnHnMnS
.Methods in org.apache.logging.log4j.core.appender.rolling.action with parameters of type Duration Modifier and Type Method Description int
Duration. compareTo(Duration other)
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 Duration Constructor Description 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 Modifier and Type Method Description Duration
TypeConverters.DurationConverter. convert(java.lang.String s)
-