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, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public SizeAndTimeBasedFNATP()
public SizeAndTimeBasedFNATP(ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP.Usage usage)
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 getCurrentPeriodsFileNameWithoutCompressionSuffix()
TimeBasedFileNamingAndTriggeringPolicy
getCurrentPeriodsFileNameWithoutCompressionSuffix
in interface TimeBasedFileNamingAndTriggeringPolicy<E>
getCurrentPeriodsFileNameWithoutCompressionSuffix
in class TimeBasedFileNamingAndTriggeringPolicyBase<E>
public void setMaxFileSize(FileSize aMaxFileSize)
Copyright © 2010 - 2023 Adobe. All Rights Reserved