@FunctionalInterface public static interface RollingFileMessageWriter.CleanupPolicy
Modifier and Type | Method and Description |
---|---|
List<String> |
getFilesToDelete(List<String> candidateFiles,
String currentFileName)
Get a list of files that needs to be deleted because of the cleanup policy.
|
@Nonnull List<String> getFilesToDelete(@Nonnull List<String> candidateFiles, @Nonnull String currentFileName)
candidateFiles
- List of the files that can be cleaned up. This does NOT
include the currently written files (current file and
symlink).currentFileName
- The current file name.Copyright © 2015–2018 morimekta.net. All rights reserved.