public class OperationTracer extends Object
Modifier and Type | Method and Description |
---|---|
static void |
begin(String label)
Initialize operation tracing on the caller's thread.
|
static void |
clear() |
static String |
convertToString(Object arg) |
static void |
disable() |
static void |
enable() |
static void |
endReadArray() |
static void |
endReadValue()
Pop the record of the current value that was just read.
|
static void |
enter(String name,
Object... args) |
static void |
exit() |
static void |
finish()
Terminate operation tracing on the caller's thread.
|
static void |
freeze() |
static String |
getAsString()
Return the current contents of the OperationTracer state
for the current thread.
|
static void |
readingField(String fieldName)
Update the current Value record to indicate the field currently being
read.
|
static void |
readingIndex(int index) |
static void |
startReadArray(String name,
int size) |
static void |
startReadValue(String name)
Push a record into the trace of the start of reading a value of the
given type name.
|
public static void freeze()
public static void enable()
public static void disable()
public static String getAsString()
public static void begin(String label)
public static void finish()
public static void startReadValue(String name)
public static void readingField(String fieldName)
public static void endReadValue()
public static void startReadArray(String name, int size)
public static void readingIndex(int index)
public static void endReadArray()
public static void clear()
public static void exit()
Copyright © 2017 Oracle. All rights reserved.