@ProviderType public interface ThreadDumpsFileManager
Modifier and Type | Method and 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. |
java.lang.String[] getThreadDumpsBackupsDirectories()
${sling.home}/threaddumps
directory.
Each directory/zip file is in the yyyyMMdd
pattern.${sling.home}/threaddumps
directory.void compressThreadDumps(java.io.OutputStream target, java.lang.String... selected) throws java.io.IOException
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.java.io.IOException
- if any error occurs while compressing data to the target stream.Copyright © 2010 - 2020 Adobe. All Rights Reserved