Class AbstractRolloverStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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)
      Deprecated.
      protected java.util.SortedMap<java.lang.Integer,​java.nio.file.Path> getEligibleFiles​(java.lang.String currentFile, java.lang.String path, java.lang.String logfilePattern, boolean isAscending)  
      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)  
      StrSubstitutor getStrSubstitutor()  
      protected Action merge​(Action compressAction, java.util.List<Action> custom, boolean stopOnError)  
      protected int suffixLength​(java.lang.String lowFilename)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        protected static final Logger LOGGER
        Allow subclasses access to the status logger without creating another instance.
      • PATTERN_COUNTER

        public static final java.util.regex.Pattern PATTERN_COUNTER
    • Constructor Detail

      • AbstractRolloverStrategy

        protected AbstractRolloverStrategy​(StrSubstitutor strSubstitutor)
    • Method Detail

      • merge

        protected Action merge​(Action compressAction,
                               java.util.List<Action> custom,
                               boolean stopOnError)
      • suffixLength

        protected int suffixLength​(java.lang.String lowFilename)
      • getEligibleFiles

        protected java.util.SortedMap<java.lang.Integer,​java.nio.file.Path> getEligibleFiles​(RollingFileManager manager)
      • getEligibleFiles

        protected java.util.SortedMap<java.lang.Integer,​java.nio.file.Path> getEligibleFiles​(RollingFileManager manager,
                                                                                                   boolean isAscending)
      • getEligibleFiles

        protected java.util.SortedMap<java.lang.Integer,​java.nio.file.Path> getEligibleFiles​(java.lang.String path,
                                                                                                   java.lang.String pattern)
      • getEligibleFiles

        @Deprecated
        protected java.util.SortedMap<java.lang.Integer,​java.nio.file.Path> getEligibleFiles​(java.lang.String path,
                                                                                                   java.lang.String logfilePattern,
                                                                                                   boolean isAscending)
        Deprecated.
      • getEligibleFiles

        protected java.util.SortedMap<java.lang.Integer,​java.nio.file.Path> getEligibleFiles​(java.lang.String currentFile,
                                                                                                   java.lang.String path,
                                                                                                   java.lang.String logfilePattern,
                                                                                                   boolean isAscending)