Package com.gigaspaces.logger
Class NullBackupPolicy
java.lang.Object
com.gigaspaces.logger.NullBackupPolicy
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
NullBackupPolicy
public NullBackupPolicy()
-
-
Method Details
-
track
Description copied from interface:BackupPolicyTrack 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:
trackin interfaceBackupPolicy- Parameters:
file- A newly created file.
-