public class DeleteBackupPolicy extends Object implements BackupPolicy
By default, a file is kept for a 30 day period. After 30 days, the file is deleted; Unless if there are less than 10 backup files available.
These properties can be configured either by modifying the logging configuration file or by use of a system property override, as specified by:
|Constructor and Description|
Constructs a delete-backup policy specifying the period (in days) to keep a file before deletion, and the number of files to keep as backup.
public void track(File file)
Copyright © GigaSpaces.