|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- public interface TimeBasedFileNamingAndTriggeringPolicy<E>
This interface lists the set of methods that need to be implemented by
triggering policies which are nested within a TimeBasedRollingPolicy
.
Method Summary | |
---|---|
ArchiveRemover |
getArchiveRemover()
Return the archive remover appropriate for this instance. |
String |
getCurrentPeriodsFileNameWithoutCompressionSuffix()
Return the current periods file name without the compression suffix. |
long |
getCurrentTime()
Return the current time which is usually the value returned by System.currentMillis(). |
String |
getElapsedPeriodsFileName()
Return the file name for the elapsed periods file name. |
void |
setCurrentTime(long now)
Set the current time. |
void |
setTimeBasedRollingPolicy(TimeBasedRollingPolicy<E> tbrp)
Set the host/parent TimeBasedRollingPolicy . |
Methods inherited from interface ch.qos.logback.core.rolling.TriggeringPolicy |
---|
isTriggeringEvent |
Methods inherited from interface ch.qos.logback.core.spi.LifeCycle |
---|
isStarted, start, stop |
Methods inherited from interface ch.qos.logback.core.spi.ContextAware |
---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext |
Method Detail |
---|
void setTimeBasedRollingPolicy(TimeBasedRollingPolicy<E> tbrp)
TimeBasedRollingPolicy
.
tbrp
- parent TimeBasedRollingPolicyString getElapsedPeriodsFileName()
String getCurrentPeriodsFileNameWithoutCompressionSuffix()
ArchiveRemover getArchiveRemover()
long getCurrentTime()
void setCurrentTime(long now)
now
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |