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