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(java.io.OutputStream target, java.lang.String... selected)Compresses in the target output stream, using the Zip algorithm, all the selected directories/zip files.java.lang.String[]getThreadDumpsBackupsDirectories()Enlists all the directories/zip files under the${sling.home}/threaddumpsdirectory.
-
-
-
Method Detail
-
getThreadDumpsBackupsDirectories
java.lang.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(java.io.OutputStream target, java.lang.String... selected) throws java.io.IOExceptionCompresses 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:
java.io.IOException- if any error occurs while compressing data to the target stream.
-
-