Class FileSizeBackupStrategy

    • Constructor Summary

      Constructors 
      Constructor Description
      FileSizeBackupStrategy​(long maxSize)
      Deprecated.
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean shouldBackup​(java.io.File file)
      Deprecated.
      Whether we should backup a specified log file.
      • Methods inherited from class java.lang.Object

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

      • FileSizeBackupStrategy

        public FileSizeBackupStrategy​(long maxSize)
        Deprecated.
        Constructor.
        Parameters:
        maxSize - the max size the file can reach
    • Method Detail

      • shouldBackup

        public boolean shouldBackup​(java.io.File file)
        Deprecated.
        Description copied from interface: BackupStrategy
        Whether we should backup a specified log file.
        Specified by:
        shouldBackup in interface BackupStrategy
        Parameters:
        file - the log file
        Returns:
        true is we should backup the log file