public class HeapDump extends Object implements HeapDumpMBean
| Constructor and Description |
|---|
HeapDump() |
| Modifier and Type | Method and Description |
|---|---|
String |
createHeapDump() |
String[] |
getCmd() |
int |
getCurrentHeaps() |
int |
getMaxHeaps() |
String |
getOutputFileName() |
long |
getPid() |
long |
getQuietPeriod() |
boolean |
isEnabled() |
boolean |
onMemoryShortage() |
void |
setCmd(String[] cmd) |
void |
setCurrentHeaps(int currentHeaps) |
void |
setEnabled(boolean enabled) |
void |
setMaxHeaps(int maxHeaps) |
void |
setOutputFileName(String name) |
void |
setQuietPeriod(long millis) |
public long getPid()
getPid in interface HeapDumpMBeanpublic String[] getCmd()
getCmd in interface HeapDumpMBeanpublic void setCmd(String[] cmd)
setCmd in interface HeapDumpMBeanpublic String getOutputFileName()
getOutputFileName in interface HeapDumpMBeanpublic void setOutputFileName(String name)
setOutputFileName in interface HeapDumpMBeanpublic boolean isEnabled()
isEnabled in interface HeapDumpMBeanpublic void setEnabled(boolean enabled)
setEnabled in interface HeapDumpMBeanpublic int getMaxHeaps()
getMaxHeaps in interface HeapDumpMBeanpublic void setMaxHeaps(int maxHeaps)
setMaxHeaps in interface HeapDumpMBeanpublic int getCurrentHeaps()
getCurrentHeaps in interface HeapDumpMBeanpublic void setCurrentHeaps(int currentHeaps)
setCurrentHeaps in interface HeapDumpMBeanpublic long getQuietPeriod()
getQuietPeriod in interface HeapDumpMBeanpublic void setQuietPeriod(long millis)
setQuietPeriod in interface HeapDumpMBeanpublic String createHeapDump() throws IOException, InterruptedException
createHeapDump in interface HeapDumpMBeanIOExceptionInterruptedExceptionpublic boolean onMemoryShortage()
onMemoryShortage in interface HeapDumpMBeanCopyright © GigaSpaces.