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 DurationIfLastModified. agestatic DurationDuration. ZEROConstant 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 DurationDuration. create(long seconds)Obtains an instance ofDurationusing seconds.private static DurationDuration. create(long daysAsSecs, long hoursAsSecs, long minsAsSecs, long secs)DurationIfLastModified. getAge()static DurationDuration. parse(java.lang.CharSequence text)Obtains aDurationfrom 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 intDuration. compareTo(Duration other)static IfLastModifiedIfLastModified. 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 DurationTypeConverters.DurationConverter. convert(java.lang.String s)
-