E
- public class DefaultTimeBasedFileNamingAndTriggeringPolicy<E> extends TimeBasedFileNamingAndTriggeringPolicyBase<E>
Constructor and Description |
---|
DefaultTimeBasedFileNamingAndTriggeringPolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
isTriggeringEvent(java.io.File activeFile,
E event)
Should roll-over be triggered at this time?
|
void |
start() |
java.lang.String |
toString() |
getArchiveRemover, getCurrentPeriodsFileNameWithoutCompressionSuffix, getCurrentTime, getElapsedPeriodsFileName, isStarted, setCurrentTime, setDateInCurrentPeriod, setTimeBasedRollingPolicy, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public DefaultTimeBasedFileNamingAndTriggeringPolicy()
public void start()
start
in interface LifeCycle
start
in class TimeBasedFileNamingAndTriggeringPolicyBase<E>
public boolean isTriggeringEvent(java.io.File activeFile, E event)
TriggeringPolicy
activeFile
- A reference to the currently active log file.event
- A reference to the currently event.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved