Package ch.qos.logback.core.rolling
Interface TriggeringPolicy<E>
- 
- All Superinterfaces:
 LifeCycle
- All Known Subinterfaces:
 TimeBasedFileNamingAndTriggeringPolicy<E>
- All Known Implementing Classes:
 DefaultTimeBasedFileNamingAndTriggeringPolicy,SizeAndTimeBasedFNATP,SizeAndTimeBasedRollingPolicy,SizeBasedTriggeringPolicy,TimeBasedFileNamingAndTriggeringPolicyBase,TimeBasedRollingPolicy,TriggeringPolicyBase
@Deprecated(since="2022-01-27") public interface TriggeringPolicy<E> extends LifeCycle
Deprecated.ATriggeringPolicycontrols the conditions under which roll-over occurs. Such conditions include time of day, file size, an external event, the log request or a combination thereof. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanisTriggeringEvent(java.io.File activeFile, E event)Deprecated.Should roll-over be triggered at this time? 
 - 
 
- 
- 
Method Detail
- 
isTriggeringEvent
boolean isTriggeringEvent(java.io.File activeFile, E event)Deprecated.Should roll-over be triggered at this time?- Parameters:
 activeFile- A reference to the currently active log file.event- A reference to the currently event.- Returns:
 - true if a roll-over should occur.
 
 
 - 
 
 -