Package ch.qos.logback.core.rolling
Class FixedWindowRollingPolicy
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.RollingPolicyBase
ch.qos.logback.core.rolling.FixedWindowRollingPolicy
- All Implemented Interfaces:
RollingPolicy
,ContextAware
,LifeCycle
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
When rolling over,
FixedWindowRollingPolicy
renames files
according to a fixed window algorithm.
For more information about this policy, please refer to the online manual at
http://logback.qos.ch/manual/appenders.html#FixedWindowRollingPolicy-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return the value of the parent's RawFile property.int
Deprecated.int
Deprecated.void
rollover()
Deprecated.Rolls over log files according to implementation policy.void
setMaxIndex
(int maxIndex) Deprecated.void
setMinIndex
(int minIndex) Deprecated.void
start()
Deprecated.Methods inherited from class ch.qos.logback.core.rolling.RollingPolicyBase
getCompressionMode, getFileNamePattern, getParentsRawFileProperty, isParentPrudent, isStarted, setFileNamePattern, setParent, stop
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Field Details
-
ZIP_ENTRY_DATE_PATTERN
Deprecated.- See Also:
-
-
Constructor Details
-
FixedWindowRollingPolicy
public FixedWindowRollingPolicy()Deprecated.
-
-
Method Details
-
start
public void start()Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classRollingPolicyBase
-
rollover
Deprecated.Description copied from interface:RollingPolicy
Rolls over log files according to implementation policy.This method is invoked by
RollingFileAppender
, usually at the behest of itsTriggeringPolicy
.- Throws:
RolloverFailure
- Thrown if the rollover operation fails for any reason.
-
getActiveFileName
Deprecated.Return the value of the parent's RawFile property. -
getMaxIndex
public int getMaxIndex()Deprecated. -
getMinIndex
public int getMinIndex()Deprecated. -
setMaxIndex
public void setMaxIndex(int maxIndex) Deprecated. -
setMinIndex
public void setMinIndex(int minIndex) Deprecated.
-