Class HeapDumpSettings


  • public class HeapDumpSettings
    extends Object
    Encapsulates the marshalling and unmarshalling of heapdump settings through the properties map.
    • Constructor Detail

      • HeapDumpSettings

        public HeapDumpSettings()
    • Method Detail

      • setFileName

        public static void setFileName​(String fileName,
                                       Map properties)
      • 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)