public class SizeAndTimeBasedFNATP<E> extends TimeBasedFileNamingAndTriggeringPolicyBase<E>
| Constructor and Description |
|---|
SizeAndTimeBasedFNATP() |
SizeAndTimeBasedFNATP(ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP.Usage usage) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCurrentPeriodsFileNameWithoutCompressionSuffix()
Return the current periods file name without the compression suffix.
|
boolean |
isTriggeringEvent(java.io.File activeFile,
E event)
Should roll-over be triggered at this time?
|
void |
setMaxFileSize(FileSize aMaxFileSize) |
void |
start() |
getArchiveRemover, getCurrentTime, getElapsedPeriodsFileName, isStarted, setCurrentTime, setDateInCurrentPeriod, setTimeBasedRollingPolicy, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextpublic SizeAndTimeBasedFNATP()
public SizeAndTimeBasedFNATP(ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP.Usage usage)
public void start()
start in interface LifeCyclestart in class TimeBasedFileNamingAndTriggeringPolicyBase<E>public boolean isTriggeringEvent(java.io.File activeFile,
E event)
TriggeringPolicyactiveFile - A reference to the currently active log file.event - A reference to the currently event.public java.lang.String getCurrentPeriodsFileNameWithoutCompressionSuffix()
TimeBasedFileNamingAndTriggeringPolicygetCurrentPeriodsFileNameWithoutCompressionSuffix in interface TimeBasedFileNamingAndTriggeringPolicy<E>getCurrentPeriodsFileNameWithoutCompressionSuffix in class TimeBasedFileNamingAndTriggeringPolicyBase<E>public void setMaxFileSize(FileSize aMaxFileSize)
Copyright © 2010 - 2023 Adobe. All Rights Reserved