public abstract class AbstractRolloverStrategy extends 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 SortedMap<Integer,Path> |
getEligibleFiles(RollingFileManager manager) |
protected SortedMap<Integer,Path> |
getEligibleFiles(RollingFileManager manager,
boolean isAscending) |
protected SortedMap<Integer,Path> |
getEligibleFiles(String path,
String pattern) |
protected SortedMap<Integer,Path> |
getEligibleFiles(String path,
String logfilePattern,
boolean isAscending) |
StrSubstitutor |
getStrSubstitutor() |
protected Action |
merge(Action compressAction,
List<Action> custom,
boolean stopOnError) |
protected int |
suffixLength(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 int suffixLength(String lowFilename)
protected SortedMap<Integer,Path> getEligibleFiles(RollingFileManager manager)
protected SortedMap<Integer,Path> getEligibleFiles(RollingFileManager manager, boolean isAscending)
Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.