uk.org.simonsite.log4j.appender
Interface LogFileScavenger

All Known Implementing Classes:
AbsoluteMinFreeDiskSpaceLogFileScavenger, AbstractLogFileScavenger, DefaultLogFileScavenger

interface LogFileScavenger

Responsible for periodically sampling the number of log files with a given base filename and time-based extension, and for deleting the older files if the scavenger's conditions are met.

Version:
2.2
Author:
Simon Park, Bernd

Method Summary
 void begin()
          Starts the scavenger.
 void end()
          Stops the scavenger.
 void init(TimeAndSizeRollingAppender appender, AppenderRollingProperties properties)
           
 void scavenge()
           
 

Method Detail

begin

void begin()
Starts the scavenger.


end

void end()
Stops the scavenger.


scavenge

void scavenge()
              throws InterruptedException,
                     InterruptedIOException
Throws:
InterruptedException
InterruptedIOException

init

void init(TimeAndSizeRollingAppender appender,
          AppenderRollingProperties properties)