Module ch.qos.logback.core
Class SizeAndTimeBasedArchiveRemover
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover
ch.qos.logback.core.rolling.helper.SizeAndTimeBasedArchiveRemover
- All Implemented Interfaces:
ArchiveRemover,ContextAware
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover
TimeBasedArchiveRemover.ArhiveRemoverRunnable -
Field Summary
FieldsFields inherited from class ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover
INACTIVITY_TOLERANCE_IN_MILLIS, UNINITIALIZEDFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
ConstructorsConstructorDescriptionSizeAndTimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddescendingSort(File[] matchingFileArray, Instant instant) protected File[]getFilesInPeriod(Instant instantOfPeriodToClean) Methods inherited from class ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover
clean, cleanAsynchronously, cleanPeriod, getPeriodOffsetForDeletionTarget, setMaxHistory, setTotalSizeCap, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Field Details
-
NO_INDEX
protected static final int NO_INDEX- See Also:
-
-
Constructor Details
-
SizeAndTimeBasedArchiveRemover
-
-
Method Details
-
getFilesInPeriod
- Overrides:
getFilesInPeriodin classTimeBasedArchiveRemover
-
descendingSort
- Overrides:
descendingSortin classTimeBasedArchiveRemover
-