Class TriggeringPolicyBase<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.rolling.TriggeringPolicyBase<E>
- All Implemented Interfaces:
TriggeringPolicy<E>, ContextAware, LifeCycle
- Direct Known Subclasses:
SizeBasedTriggeringPolicy
public abstract class TriggeringPolicyBase<E>
extends ContextAwareBase
implements TriggeringPolicy<E>
SizeBasedTriggeringPolicy looks at size of the file being currently written
to.
- Author:
- Ceki Gülcü
-
Field Summary
Fields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TriggeringPolicy
getLengthCounter, isTriggeringEvent
-
Constructor Details
-
TriggeringPolicyBase
public TriggeringPolicyBase()
-
-
Method Details
-
start
-
stop
-
isStarted
-