uk.org.simonsite.log4j.appender
Class TimeBasedRollEnforcer

java.lang.Object
  extended by uk.org.simonsite.log4j.appender.TimeBasedRollEnforcer
All Implemented Interfaces:
Runnable

final class TimeBasedRollEnforcer
extends Object
implements Runnable

Responsible for ensuring that log files are rolled pro-actively when rollover is due. This is as opposed to rolling files reactively when logging events are dispatched to the appender.

Version:
1.6
Author:
Simon Park

Constructor Summary
TimeBasedRollEnforcer(TimeAndSizeRollingAppender rollingAppender)
           
 
Method Summary
(package private)  void begin()
          Starts the enforcer.
(package private)  void end()
          Stops the enforcer.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeBasedRollEnforcer

TimeBasedRollEnforcer(TimeAndSizeRollingAppender rollingAppender)
Method Detail

run

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

begin

final void begin()
Starts the enforcer.


end

final void end()
Stops the enforcer.