Package ch.qos.logback.core.rolling
Class SizeAndTimeBasedRollingPolicy<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.rolling.RollingPolicyBase
-
- ch.qos.logback.core.rolling.TimeBasedRollingPolicy<E>
-
- ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy<E>
-
- All Implemented Interfaces:
RollingPolicy
,TriggeringPolicy<E>
,ContextAware
,LifeCycle
@Deprecated(since="2022-01-27") public class SizeAndTimeBasedRollingPolicy<E> extends TimeBasedRollingPolicy<E>
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description SizeAndTimeBasedRollingPolicy()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
setMaxFileSize(FileSize aMaxFileSize)
Deprecated.void
start()
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class ch.qos.logback.core.rolling.TimeBasedRollingPolicy
getActiveFileName, getMaxHistory, getTimeBasedFileNamingAndTriggeringPolicy, isCleanHistoryOnStart, isTriggeringEvent, rollover, setCleanHistoryOnStart, setMaxHistory, setTimeBasedFileNamingAndTriggeringPolicy, setTotalSizeCap, stop
-
Methods inherited from class ch.qos.logback.core.rolling.RollingPolicyBase
getCompressionMode, getFileNamePattern, getParentsRawFileProperty, isParentPrudent, isStarted, setFileNamePattern, setParent
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classTimeBasedRollingPolicy<E>
-
setMaxFileSize
public void setMaxFileSize(FileSize aMaxFileSize)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classTimeBasedRollingPolicy<E>
-
-