ch.qos.logback.core.rolling.helper
Class DefaultArchiveRemover
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.helper.DefaultArchiveRemover
- All Implemented Interfaces:
- ArchiveRemover, ContextAware
- Direct Known Subclasses:
- SizeAndTimeBasedArchiveRemover, TimeBasedArchiveRemover
public abstract class DefaultArchiveRemover
- extends ContextAwareBase
- implements ArchiveRemover
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNINITIALIZED
protected static final long UNINITIALIZED
- See Also:
- Constant Field Values
INACTIVITY_TOLERANCE_IN_MILLIS
protected static final long INACTIVITY_TOLERANCE_IN_MILLIS
- See Also:
- Constant Field Values
DefaultArchiveRemover
public DefaultArchiveRemover(FileNamePattern fileNamePattern,
RollingCalendar rc)
clean
public void clean(Date now)
- Specified by:
clean
in interface ArchiveRemover
setMaxHistory
public void setMaxHistory(int maxHistory)
- Specified by:
setMaxHistory
in interface ArchiveRemover
Copyright © 2005-2013 QOS.ch. All Rights Reserved.