com.gigaspaces.logger
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:
 RollingFileHandler
 
| 
Method Summary | 
 void | 
track(File file)
 
          Track a newly created file. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NullBackupPolicy
public NullBackupPolicy()
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.
 
 
Copyright © GigaSpaces.