@FunctionalInterface
protected static interface HeapDumpWebEndpoint.HeapDumper
void dumpHeap(java.io.File file,
boolean live)
throws java.io.IOException,
java.lang.InterruptedException
file - the file to dump the heap tolive - if only live objects (i.e. objects that are reachable from
others) should be dumpedjava.io.IOException - on IO errorjava.lang.InterruptedException - on thread interruption