|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.TimeBasedFileNamingAndTriggeringPolicyBase<E>
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP<E>
public class SizeAndTimeBasedFNATP<E>
Field Summary |
---|
Fields inherited from class ch.qos.logback.core.rolling.TimeBasedFileNamingAndTriggeringPolicyBase |
---|
archiveRemover, artificialCurrentTime, dateInCurrentPeriod, elapsedPeriodsFileName, nextCheck, rc, started, tbrp |
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
---|
context |
Constructor Summary | |
---|---|
SizeAndTimeBasedFNATP()
|
Method Summary | |
---|---|
java.lang.String |
getCurrentPeriodsFileNameWithoutCompressionSuffix()
Return the current periods file name without the compression suffix. |
java.lang.String |
getMaxFileSize()
|
boolean |
isTriggeringEvent(java.io.File activeFile,
E event)
Should roll-over be triggered at this time? |
void |
setMaxFileSize(java.lang.String maxFileSize)
|
void |
start()
|
Methods inherited from class ch.qos.logback.core.rolling.TimeBasedFileNamingAndTriggeringPolicyBase |
---|
computeNextCheck, getArchiveRemover, getCurrentTime, getElapsedPeriodsFileName, isStarted, setCurrentTime, setDateInCurrentPeriod, setDateInCurrentPeriod, setTimeBasedRollingPolicy, stop |
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ch.qos.logback.core.spi.ContextAware |
---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext |
Constructor Detail |
---|
public SizeAndTimeBasedFNATP()
Method Detail |
---|
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 java.lang.String getMaxFileSize()
public void setMaxFileSize(java.lang.String maxFileSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |