public class HeapDump
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
HeapDump() |
Modifier and Type | Method and Description |
---|---|
static HeapDump |
create()
Creates/returns the HeapDump instance.
|
java.lang.Object |
dump()
Returns an array of the HeapDump entries.
|
java.lang.Object |
getLastHeapDump()
Returns the last heap dump
|
static boolean |
isAvailable()
Checks if the heap is available
|
java.lang.String |
jsonHeapDump() |
void |
logHeapDump(java.util.logging.Logger log,
java.util.logging.Level level) |
void |
writeExtendedHeapDump(java.io.PrintWriter out)
Writes a text value of the heap dump to an output stream.
|
void |
writeHeapDump(java.io.PrintWriter out)
Writes a text value of the heap dump to an output stream.
|
public static HeapDump create()
public static boolean isAvailable()
public java.lang.Object dump()
public java.lang.Object getLastHeapDump()
public void writeHeapDump(java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
public void writeExtendedHeapDump(java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
public void logHeapDump(java.util.logging.Logger log, java.util.logging.Level level)
public java.lang.String jsonHeapDump()