public class GraphPrinterDumpHandler extends Object implements DebugDumpHandler
IdealGraphPrinter to generate a graph representation
that can be inspected with the Ideal Graph
Visualizer.| Modifier and Type | Field and Description |
|---|---|
private int[] |
dumpIds |
private int |
failuresCount |
private List<String> |
previousInlineContext |
protected GraphPrinter |
printer |
private static SimpleDateFormat |
sdf |
| Constructor and Description |
|---|
GraphPrinterDumpHandler()
Creates a new
GraphPrinterDumpHandler. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Flushes and releases resources managed by this dump handler.
|
private void |
closeScope(int inlineDepth) |
protected void |
createPrinter() |
void |
dump(Object object,
String message) |
private void |
ensureInitialized() |
private static List<String> |
getInlineContext() |
private static SchedulePhase |
getPredefinedSchedule() |
private void |
initializeFilePrinter() |
private void |
initializeNetworkPrinter() |
private int |
nextDumpId() |
private void |
openScope(String name,
int inlineDepth) |
protected GraphPrinter printer
private List<String> previousInlineContext
private int[] dumpIds
private int failuresCount
private static volatile SimpleDateFormat sdf
public GraphPrinterDumpHandler()
GraphPrinterDumpHandler.private void ensureInitialized()
protected void createPrinter()
private int nextDumpId()
private void initializeFilePrinter()
private void initializeNetworkPrinter()
public void dump(Object object, String message)
dump in interface DebugDumpHandlerprivate static List<String> getInlineContext()
private static SchedulePhase getPredefinedSchedule()
private void closeScope(int inlineDepth)
public void close()
DebugDumpHandlerDebugDumpHandler.dump(Object, String) will create and open new resources. That is, this method can be
used to reset the handler.close in interface DebugDumpHandlerclose in interface Closeableclose in interface AutoCloseable