Package com.adobe.granite.threaddump
Interface ThreadDumpsFileManager
-
@ProviderType public interface ThreadDumpsFileManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
compressThreadDumps(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}/threaddumps
directory.
-
-
-
Method Detail
-
getThreadDumpsBackupsDirectories
java.lang.String[] getThreadDumpsBackupsDirectories()
Enlists all the directories/zip files under the${sling.home}/threaddumps
directory. Each directory/zip file is in theyyyyMMdd
pattern.- Returns:
- all the directories/zip files under the
${sling.home}/threaddumps
directory.
-
compressThreadDumps
void compressThreadDumps(java.io.OutputStream target, java.lang.String... selected) throws java.io.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:
java.io.IOException
- if any error occurs while compressing data to the target stream.
-
-