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? |
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.
Copyright 2000-2005 Apache Software Foundation.