- java.lang.Object
-
- com.ibm.jvm.dtfjview.heapdump.HeapDumpSettings
-
public class HeapDumpSettings extends Object
Encapsulates the marshalling and unmarshalling of heapdump settings through the properties map.
-
-
Field Summary
Fields Modifier and Type Field Description static String
HEAP_DUMP_FILE_PROPERTY
static String
HEAP_DUMP_FORMAT_PROPERTY
static String
HEAP_DUMP_RUNTIME_ID
static String
MULTIPLE_HEAPS_MULTIPLE_FILES_PROPERTY
-
Constructor Summary
Constructors Constructor Description HeapDumpSettings()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areHeapDumpsPHD(Map properties)
static String
getFileName(Map properties)
Returns the filename to use for writing out a heap dump, either based on what the user has set or by generating the default name based on the image namestatic boolean
heapDumpFileNameSet(Map properties)
static boolean
multipleHeapsInMultipleFiles(Map properties)
static void
setClassicHeapDumps(Map properties)
static void
setFileName(String fileName, Map properties)
static void
setMultipleHeapsMultipleFiles(Map properties)
static void
setMultipleHeapsSingleFile(Map properties)
static void
setPHDHeapDumps(Map properties)
static void
setRuntimeID(Map properties, int id)
-
-
-
Field Detail
-
HEAP_DUMP_FILE_PROPERTY
public static final String HEAP_DUMP_FILE_PROPERTY
- See Also:
- Constant Field Values
-
HEAP_DUMP_FORMAT_PROPERTY
public static final String HEAP_DUMP_FORMAT_PROPERTY
- See Also:
- Constant Field Values
-
MULTIPLE_HEAPS_MULTIPLE_FILES_PROPERTY
public static final String MULTIPLE_HEAPS_MULTIPLE_FILES_PROPERTY
- See Also:
- Constant Field Values
-
HEAP_DUMP_RUNTIME_ID
public static final String HEAP_DUMP_RUNTIME_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFileName
public static String getFileName(Map properties)
Returns the filename to use for writing out a heap dump, either based on what the user has set or by generating the default name based on the image name
-
heapDumpFileNameSet
public static boolean heapDumpFileNameSet(Map properties)
-
setClassicHeapDumps
public static void setClassicHeapDumps(Map properties)
-
areHeapDumpsPHD
public static boolean areHeapDumpsPHD(Map properties)
-
setPHDHeapDumps
public static void setPHDHeapDumps(Map properties)
-
setMultipleHeapsMultipleFiles
public static void setMultipleHeapsMultipleFiles(Map properties)
-
setMultipleHeapsSingleFile
public static void setMultipleHeapsSingleFile(Map properties)
-
setRuntimeID
public static void setRuntimeID(Map properties, int id)
-
multipleHeapsInMultipleFiles
public static boolean multipleHeapsInMultipleFiles(Map properties)
-
-