uk.org.simonsite.log4j.appender
Class AbstractLogFileScavenger

java.lang.Object
  extended by uk.org.simonsite.log4j.appender.AbstractLogFileScavenger
All Implemented Interfaces:
Runnable, LogFileScavenger
Direct Known Subclasses:
AbsoluteMinFreeDiskSpaceLogFileScavenger, DefaultLogFileScavenger

abstract class AbstractLogFileScavenger
extends Object
implements LogFileScavenger, Runnable

Version:
2.0
Author:
Simon Park, Bernd

Constructor Summary
AbstractLogFileScavenger()
           
 
Method Summary
 void begin()
          Starts the scavenger.
 void end()
          Stops the scavenger.
(package private)  TimeAndSizeRollingAppender getAppender()
           
(package private)  AppenderRollingProperties getProperties()
           
 void init(TimeAndSizeRollingAppender appender, AppenderRollingProperties properties)
           
(package private)  LogFileList logFileList()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.org.simonsite.log4j.appender.LogFileScavenger
scavenge
 

Constructor Detail

AbstractLogFileScavenger

AbstractLogFileScavenger()
Method Detail

init

public final void init(TimeAndSizeRollingAppender appender,
                       AppenderRollingProperties properties)
Specified by:
init in interface LogFileScavenger

begin

public final void begin()
Starts the scavenger.

Specified by:
begin in interface LogFileScavenger

end

public final void end()
Stops the scavenger.

Specified by:
end in interface LogFileScavenger

run

public final void run()
Specified by:
run in interface Runnable

getAppender

final TimeAndSizeRollingAppender getAppender()

getProperties

final AppenderRollingProperties getProperties()

logFileList

final LogFileList logFileList()