Top Fields Constructors Methods
ch.qos.logback.core.rolling.helper

public Class SizeAndTimeBasedArchiveRemover

extends TimeBasedArchiveRemover
Class Inheritance
Imports
java.io.File, java.time.Instant, java.util.Arrays, .Comparator, .Date, java.util.regex.Matcher, .Pattern

Field Summary

Modifier and TypeField and Description
protected static final int
Inherited from ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover:
callCountfileNamePatternINACTIVITY_TOLERANCE_IN_MILLISlastHeartBeatMAX_VALUE_FOR_INACTIVITY_PERIODSparentCleanrcUNINITIALIZED

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private String
createStemRegex(final Instant instantOfPeriodToClean)

protected void
protected File[]
Inherited from ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover:
capTotalSizecleancleanAsynchronouslycleanPeriodcomputeElapsedPeriodsSinceLastCleancomputeParentCleaningFlaggetParentDirgetPeriodOffsetForDeletionTargetremoveFolderIfEmptysetMaxHistorysetTotalSizeCaptoString

Field Detail

NO_INDEXback to summary
protected static final int NO_INDEX

Constructor Detail

SizeAndTimeBasedArchiveRemoverback to summary
public SizeAndTimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc)

Method Detail

createStemRegexback to summary
private String createStemRegex(final Instant instantOfPeriodToClean)
descendingSortback to summary
protected void descendingSort(File[] matchingFileArray, Instant instant)

Overrides ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover.descendingSort.

Annotations
@Override
getFilesInPeriodback to summary
protected File[] getFilesInPeriod(Instant instantOfPeriodToClean)

Overrides ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover.getFilesInPeriod.