public abstract class AbstractRolloverStrategy extends java.lang.Object implements RolloverStrategy
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOGGER
Allow subclasses access to the status logger without creating another instance.
|
protected StrSubstitutor |
strSubstitutor |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRolloverStrategy(StrSubstitutor strSubstitutor) |
Modifier and Type | Method and Description |
---|---|
protected java.util.SortedMap<java.lang.Integer,java.nio.file.Path> |
getEligibleFiles(RollingFileManager manager) |
protected java.util.SortedMap<java.lang.Integer,java.nio.file.Path> |
getEligibleFiles(RollingFileManager manager,
boolean isAscending) |
protected java.util.SortedMap<java.lang.Integer,java.nio.file.Path> |
getEligibleFiles(java.lang.String path,
java.lang.String pattern) |
protected java.util.SortedMap<java.lang.Integer,java.nio.file.Path> |
getEligibleFiles(java.lang.String path,
java.lang.String logfilePattern,
boolean isAscending) |
StrSubstitutor |
getStrSubstitutor() |
protected Action |
merge(Action compressAction,
java.util.List<Action> custom,
boolean stopOnError) |
protected int |
suffixLength(java.lang.String lowFilename) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
rollover
protected static final Logger LOGGER
protected final StrSubstitutor strSubstitutor
protected AbstractRolloverStrategy(StrSubstitutor strSubstitutor)
public StrSubstitutor getStrSubstitutor()
protected Action merge(Action compressAction, java.util.List<Action> custom, boolean stopOnError)
protected int suffixLength(java.lang.String lowFilename)
protected java.util.SortedMap<java.lang.Integer,java.nio.file.Path> getEligibleFiles(RollingFileManager manager)
protected java.util.SortedMap<java.lang.Integer,java.nio.file.Path> getEligibleFiles(RollingFileManager manager, boolean isAscending)
protected java.util.SortedMap<java.lang.Integer,java.nio.file.Path> getEligibleFiles(java.lang.String path, java.lang.String pattern)
protected java.util.SortedMap<java.lang.Integer,java.nio.file.Path> getEligibleFiles(java.lang.String path, java.lang.String logfilePattern, boolean isAscending)