uk.org.simonsite.log4j.appender
Class FileSizeRoller

java.lang.Object
  extended by uk.org.simonsite.log4j.appender.AbstractRoller
      extended by uk.org.simonsite.log4j.appender.FileSizeRoller
All Implemented Interfaces:
FileRollable

final class FileSizeRoller
extends AbstractRoller
implements FileRollable

Responsible for deciding whether a file roll should take place based upon file size limits, and for performing a file roll if necessary.

Version:
2.3
Author:
Simon Park

Constructor Summary
FileSizeRoller(TimeAndSizeRollingAppender rollingAppender)
           
 
Method Summary
 boolean roll(LoggingEvent loggingEvent)
           
 
Methods inherited from class uk.org.simonsite.log4j.appender.AbstractRoller
getAppender, getProperties, roll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSizeRoller

FileSizeRoller(TimeAndSizeRollingAppender rollingAppender)
Method Detail

roll

public final boolean roll(LoggingEvent loggingEvent)
Specified by:
roll in interface FileRollable