public class FileLastModifiedCleanStrategy extends java.lang.Object implements CleanStrategy
| Constructor and Description |
|---|
FileLastModifiedCleanStrategy(long maxTimeMillis)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldClean(java.io.File file)
Whether we should clean a specified log file.
|
public FileLastModifiedCleanStrategy(long maxTimeMillis)
maxTimeMillis - the max time the file can keeppublic boolean shouldClean(java.io.File file)
CleanStrategyshouldClean in interface CleanStrategyfile - the log file