public class RolloverWatcher extends Object implements RollingPolicyDecorator.RolloverListener
Constructor and Description |
---|
RolloverWatcher(String activeFileName) |
Modifier and Type | Method and Description |
---|---|
ZippedContent |
getAllFilesAsZippedContent() |
String |
getContentType(String fileName) |
PathContent |
getFileContent(String fileName) |
ZippedContent |
getFilesAsZippedContent(Set<String> fileNames) |
List<LogFileDetails> |
getLogFileDetails() |
Collection<String> |
getRolledFiles() |
void |
onNoRolloverDetected(Path baseFolder,
String[] relativeFileNames) |
void |
onRollover(Path baseFolder,
String[] relativeFileNames) |
public RolloverWatcher(String activeFileName)
public void onRollover(Path baseFolder, String[] relativeFileNames)
onRollover
in interface RollingPolicyDecorator.RolloverListener
public void onNoRolloverDetected(Path baseFolder, String[] relativeFileNames)
onNoRolloverDetected
in interface RollingPolicyDecorator.RolloverListener
public PathContent getFileContent(String fileName)
public Collection<String> getRolledFiles()
public List<LogFileDetails> getLogFileDetails()
public ZippedContent getFilesAsZippedContent(Set<String> fileNames)
public ZippedContent getAllFilesAsZippedContent()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.