Interface ArchiveRemover

All Superinterfaces:
ContextAware
All Known Implementing Classes:
SizeAndTimeBasedArchiveRemover, TimeBasedArchiveRemover

public interface ArchiveRemover extends ContextAware
Given a date remove older archived log files.
Author:
Ceki Gülcü
  • Method Details

    • clean

      void clean(Instant instant)
    • setMaxHistory

      void setMaxHistory(int maxHistory)
    • setTotalSizeCap

      void setTotalSizeCap(long totalSizeCap)
    • cleanAsynchronously

      Future<?> cleanAsynchronously(Instant now)