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 Modifier and Type Class Description class
TimeBasedArchiveRemover.ArhiveRemoverRunnable
Deprecated.
-
Constructor Summary
Constructors Constructor Description TimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clean(java.util.Date now)
Deprecated.java.util.concurrent.Future<?>
cleanAsynchronously(java.util.Date now)
Deprecated.void
cleanPeriod(java.util.Date dateOfPeriodToClean)
Deprecated.void
setMaxHistory(int maxHistory)
Deprecated.void
setTotalSizeCap(long totalSizeCap)
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Constructor Detail
-
TimeBasedArchiveRemover
public TimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc)
Deprecated.
-
-
Method Detail
-
clean
public void clean(java.util.Date now)
Deprecated.- Specified by:
clean
in interfaceArchiveRemover
-
cleanPeriod
public void cleanPeriod(java.util.Date dateOfPeriodToClean)
Deprecated.
-
setMaxHistory
public void setMaxHistory(int maxHistory)
Deprecated.- Specified by:
setMaxHistory
in interfaceArchiveRemover
-
setTotalSizeCap
public void setTotalSizeCap(long totalSizeCap)
Deprecated.- Specified by:
setTotalSizeCap
in interfaceArchiveRemover
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
cleanAsynchronously
public java.util.concurrent.Future<?> cleanAsynchronously(java.util.Date now)
Deprecated.- Specified by:
cleanAsynchronously
in interfaceArchiveRemover
-
-