Package com.adobe.granite.threaddump
Interface ThreadDumpsFileManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompressThreadDumps(OutputStream target, String... selected) Compresses in the target output stream, using the Zip algorithm, all the selected directories/zip files.String[]Enlists all the directories/zip files under the${sling.home}/threaddumpsdirectory.
-
Method Details
-
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
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.
-