Package com.adobe.granite.threaddump
Interface ThreadDumpsFileManager
-
@ProviderType public interface ThreadDumpsFileManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompressThreadDumps(OutputStream target, String... selected)Compresses in the target output stream, using the Zip algorithm, all the selected directories/zip files.String[]getThreadDumpsBackupsDirectories()Enlists all the directories/zip files under the${sling.home}/threaddumpsdirectory.
-
-
-
Method Detail
-
getThreadDumpsBackupsDirectories
String[] getThreadDumpsBackupsDirectories()
Enlists all the directories/zip files under the${sling.home}/threaddumpsdirectory. Each directory/zip file is in theyyyyMMddpattern.- Returns:
- all the directories/zip files under the
${sling.home}/threaddumpsdirectory.
-
compressThreadDumps
void compressThreadDumps(OutputStream target, String... selected) throws IOException
Compresses in the target output stream, using the Zip algorithm, all the selected directories/zip files.- Parameters:
target- the output stream where the dumps will be stored using the Zip algorithm.selected- the selected directories/zip files that have to be compressed.- Throws:
IOException- if any error occurs while compressing data to the target stream.
-
-