Package org.eclipse.mat.hprof.acquire
Class JmapVmInfo
java.lang.Object
org.eclipse.mat.snapshot.acquire.VmInfo
org.eclipse.mat.hprof.acquire.JmapVmInfo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJmapVmInfo(int pid, String description, boolean heapDumpEnabled, String proposedFileName, IHeapDumpProvider heapDumpProvider) -
Method Summary
Modifier and TypeMethodDescriptionReturns a proposed file name under which the heap dump should be saved, e.g.voidsetProposedFileName(String proposedFileName) Set the proposed file name for this processMethods inherited from class org.eclipse.mat.snapshot.acquire.VmInfo
getDescription, getHeapDumpProvider, getPid, isHeapDumpEnabled, setDescription, setHeapDumpEnabled, setHeapDumpProvider, setPid, toString
-
Field Details
-
jdkHome
-
compress
public boolean compress -
chunked
public boolean chunked -
live
public boolean live
-
-
Constructor Details
-
JmapVmInfo
public JmapVmInfo(int pid, String description, boolean heapDumpEnabled, String proposedFileName, IHeapDumpProvider heapDumpProvider)
-
-
Method Details
-
getProposedFileName
Description copied from class:VmInfoReturns a proposed file name under which the heap dump should be saved, e.g. java_pid%pid%.hprof for HPROF files or a file name template subject to substitution usingMessageUtil.format(java.lang.String, java.lang.Object...)with three parameters,Datedate, int pid, int index For example: mydumpname.{0,date,yyyyMMdd.HHmmss}.{1,number,0}.{2,number,0000}.dmp- Overrides:
getProposedFileNamein classVmInfo- Returns:
- a suggested file name template
-
setProposedFileName
Description copied from class:VmInfoSet the proposed file name for this process- Overrides:
setProposedFileNamein classVmInfo
-