public abstract class RollingPolicyBase extends ContextAwareBase implements RollingPolicy
Constructor and Description |
---|
RollingPolicyBase() |
Modifier and Type | Method and Description |
---|---|
CompressionMode |
getCompressionMode()
The compression mode for this policy.
|
java.lang.String |
getFileNamePattern() |
java.lang.String |
getParentsRawFileProperty() |
boolean |
isParentPrudent() |
boolean |
isStarted() |
void |
setFileNamePattern(java.lang.String fnp) |
void |
setParent(FileAppender<?> appender)
This method allows RollingPolicy implementations to be aware of their
containing appender.
|
void |
start() |
void |
stop() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActiveFileName, rollover
public void setFileNamePattern(java.lang.String fnp)
public java.lang.String getFileNamePattern()
public CompressionMode getCompressionMode()
RollingPolicy
getCompressionMode
in interface RollingPolicy
public void setParent(FileAppender<?> appender)
RollingPolicy
setParent
in interface RollingPolicy
public boolean isParentPrudent()
public java.lang.String getParentsRawFileProperty()
Copyright © 2010 - 2020 Adobe. All Rights Reserved