Class TimeBasedArchiveRemover
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.helper.TimeBasedArchiveRemover
- All Implemented Interfaces:
ArchiveRemover,ContextAware
- Direct Known Subclasses:
SizeAndTimeBasedArchiveRemover
@Deprecated(since="2022-01-27")
public class TimeBasedArchiveRemover
extends ContextAwareBase
implements ArchiveRemover
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Future<?> cleanAsynchronously(Date now) Deprecated.voidcleanPeriod(Date dateOfPeriodToClean) Deprecated.voidsetMaxHistory(int maxHistory) Deprecated.voidsetTotalSizeCap(long totalSizeCap) Deprecated.toString()Deprecated.Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextMethods inherited from class java.lang.Object
equals, 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
-
Constructor Details
-
TimeBasedArchiveRemover
Deprecated.
-
-
Method Details
-
clean
Deprecated.- Specified by:
cleanin interfaceArchiveRemover
-
cleanPeriod
Deprecated. -
setMaxHistory
public void setMaxHistory(int maxHistory) Deprecated.- Specified by:
setMaxHistoryin interfaceArchiveRemover
-
setTotalSizeCap
public void setTotalSizeCap(long totalSizeCap) Deprecated.- Specified by:
setTotalSizeCapin interfaceArchiveRemover
-
toString
Deprecated. -
cleanAsynchronously
Deprecated.- Specified by:
cleanAsynchronouslyin interfaceArchiveRemover
-