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.
|
Modifier and Type | Field and Description |
---|---|
private Duration |
IfLastModified.age |
static Duration |
Duration.ZERO
Constant for a duration of zero.
|
Modifier and Type | Method and Description |
---|---|
private static Duration |
Duration.create(long seconds)
Obtains an instance of
Duration 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 a
Duration from a text string such as PnDTnHnMnS . |
Modifier and Type | Method and Description |
---|---|
int |
Duration.compareTo(Duration other) |
static IfLastModified |
IfLastModified.createAgeCondition(Duration age,
PathCondition... nestedConditions)
Create an IfLastModified condition.
|
Constructor and Description |
---|
IfLastModified(Duration age,
PathCondition[] nestedConditions) |
Modifier and Type | Method and Description |
---|---|
Duration |
TypeConverters.DurationConverter.convert(java.lang.String s) |