public class TimeBasedArchiveRemover extends ContextAwareBase implements ArchiveRemover
Modifier and Type | Class and Description |
---|---|
class |
TimeBasedArchiveRemover.ArhiveRemoverRunnable |
Constructor and Description |
---|
TimeBasedArchiveRemover(FileNamePattern fileNamePattern,
RollingCalendar rc) |
Modifier and Type | Method and Description |
---|---|
void |
clean(java.util.Date now) |
java.util.concurrent.Future<?> |
cleanAsynchronously(java.util.Date now) |
void |
cleanPeriod(java.util.Date dateOfPeriodToClean) |
void |
setMaxHistory(int maxHistory) |
void |
setTotalSizeCap(long totalSizeCap) |
java.lang.String |
toString() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public TimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc)
public void clean(java.util.Date now)
clean
in interface ArchiveRemover
public void cleanPeriod(java.util.Date dateOfPeriodToClean)
public void setMaxHistory(int maxHistory)
setMaxHistory
in interface ArchiveRemover
public void setTotalSizeCap(long totalSizeCap)
setTotalSizeCap
in interface ArchiveRemover
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.concurrent.Future<?> cleanAsynchronously(java.util.Date now)
cleanAsynchronously
in interface ArchiveRemover
Copyright © 2010 - 2020 Adobe. All Rights Reserved