Log4j 1.3alpha-1

org.apache.log4j.rolling
Interface TriggeringPolicy

All Superinterfaces:
OptionHandler
All Known Implementing Classes:
SizeBasedTriggeringPolicy, TimeBasedRollingPolicy

public interface TriggeringPolicy
extends OptionHandler

A TriggeringPolicy controls the conditions under which rollover occurs. Such conditions include time od day, file size, an external event or a combination thereof.

Since:
1.3
Author:
Ceki Gülcü

Method Summary
 boolean isTriggeringEvent(java.io.File file)
          Should rolllover be triggered at this time?
 
Methods inherited from interface org.apache.log4j.spi.OptionHandler
activateOptions
 

Method Detail

isTriggeringEvent

public boolean isTriggeringEvent(java.io.File file)
Should rolllover be triggered at this time?

Parameters:
file - A reference to the currently active log file.

Log4j 1.3alpha-1

Copyright 2000-2003 Apache Software Foundation.