E -
public interface TimeBasedFileNamingAndTriggeringPolicy<E> extends TriggeringPolicy<E>, ContextAware
TimeBasedRollingPolicy.
| Modifier and Type | Method and Description |
|---|---|
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
Set the host/parent
TimeBasedRollingPolicy.
|
isTriggeringEventaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextvoid setTimeBasedRollingPolicy(TimeBasedRollingPolicy<E> tbrp)
TimeBasedRollingPolicy.
tbrp - parent TimeBasedRollingPolicy
StringgetElapsedPeriodsFileName()
StringgetCurrentPeriodsFileNameWithoutCompressionSuffix()
ArchiveRemovergetArchiveRemover()
long getCurrentTime()
void setCurrentTime(long now)
now -