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(Date now) |
Future<?> |
cleanAsynchronously(Date now) |
void |
cleanPeriod(Date dateOfPeriodToClean) |
void |
setMaxHistory(int maxHistory) |
void |
setTotalSizeCap(long totalSizeCap) |
String |
toString() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextpublic TimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc)
public void clean(Date now)
clean in interface ArchiveRemoverpublic void cleanPeriod(Date dateOfPeriodToClean)
public void setMaxHistory(int maxHistory)
setMaxHistory in interface ArchiveRemoverpublic void setTotalSizeCap(long totalSizeCap)
setTotalSizeCap in interface ArchiveRemoverpublic Future<?> cleanAsynchronously(Date now)
cleanAsynchronously in interface ArchiveRemoverCopyright © 2010 - 2020 Adobe. All Rights Reserved