public interface TriggeringPolicy<E> extends LifeCycle
TriggeringPolicy controls 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.| Modifier and Type | Method and Description |
|---|---|
boolean |
isTriggeringEvent(java.io.File activeFile,
E event)
Should roll-over be triggered at this time?
|
boolean isTriggeringEvent(java.io.File activeFile,
E event)
activeFile - A reference to the currently active log file.event - A reference to the currently event.Copyright © 2010 - 2023 Adobe. All Rights Reserved