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 TimeBasedArchiveRemover
TimeBasedArchiveRemover.ArhiveRemoverRunnable -
Field Summary
Fields inherited from class TimeBasedArchiveRemover
callCount, fileNamePattern, INACTIVITY_TOLERANCE_IN_MILLIS, lastHeartBeat, MAX_VALUE_FOR_INACTIVITY_PERIODS, parentClean, rc, UNINITIALIZEDFields inherited from class ContextAwareBase
context -
Constructor Summary
ConstructorsConstructorDescriptionSizeAndTimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc) -
Method Summary
Modifier and TypeMethodDescriptionprivate StringcreateStemRegex(Date dateOfPeriodToClean) protected File[]getFilesInPeriod(Date dateOfPeriodToClean) Methods inherited from class TimeBasedArchiveRemover
capTotalSize, clean, cleanAsynchronously, cleanPeriod, computeElapsedPeriodsSinceLastClean, computeParentCleaningFlag, getParentDir, getPeriodOffsetForDeletionTarget, removeFolderIfEmpty, setMaxHistory, setTotalSizeCap, toStringMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
SizeAndTimeBasedArchiveRemover
-
-
Method Details
-
getFilesInPeriod
- Overrides:
getFilesInPeriodin classTimeBasedArchiveRemover
-
createStemRegex
-