Class NullBackupPolicy

java.lang.Object
com.gigaspaces.logger.NullBackupPolicy
All Implemented Interfaces:
BackupPolicy

public class NullBackupPolicy extends Object implements BackupPolicy
A null backup policy which acts as a placeholder for a 'do-nothing' behavior. Used when an exception occurs trying to instantiate a user defined backup policy, or if no policy is desired.
Since:
7.0
Author:
Moran Avigdor
See Also:
  • Constructor Details

    • NullBackupPolicy

      public NullBackupPolicy()
  • Method Details

    • track

      public void track(File file)
      Description copied from interface: BackupPolicy
      Track a newly created file. A file is either created upon rollover or at initialization time. Implementation can keep track of files and decide whether to trigger the backup policy.
      Specified by:
      track in interface BackupPolicy
      Parameters:
      file - A newly created file.