public interface RetentionPolicy
Modifier and Type | Method and Description |
---|---|
List<File> |
deleteFiles(boolean hasRotated,
FileNamingPolicy fileNamingPolicy)
Returns all files that should be deleted according to the policy.
|
List<File> deleteFiles(boolean hasRotated, FileNamingPolicy fileNamingPolicy)
hasRotated
- true
if one of the rotation policies rotated the file at last call.fileNamingPolicy
- The naming policy used generate the log file names.Copyright 2010-2018 ForgeRock AS.