public class Tracer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
callStackEntries
The max number of call stack entries to store in the trace point.
|
private static boolean |
enabled
Enabled flag.
|
private static java.util.concurrent.ConcurrentLinkedQueue<TracePoint> |
traceEntries
All the trace point entries.
|
Constructor and Description |
---|
Tracer() |
Modifier and Type | Method and Description |
---|---|
static void |
disable()
Disables tracing.
|
static void |
enable()
Enables tracing.
|
static boolean |
enabled()
Returns
true if tracing is enabled. |
static void |
trace(java.lang.String msg,
java.lang.Integer windowId,
java.lang.Double x1,
java.lang.Double y1,
java.lang.Double x2,
java.lang.Double y2,
java.lang.Object any1)
Creates a trace point and stores it in the internal list.
|
static void |
trace(java.lang.String msg,
java.lang.Integer windowId,
java.lang.Double x1,
java.lang.Double y1,
java.lang.Double x2,
java.lang.Double y2,
java.lang.Object any1,
java.lang.Object any2)
Creates a trace point and stores it in the internal list.
|
static void |
trace(java.lang.String msg,
java.lang.Integer windowId,
java.lang.Double x1,
java.lang.Double y1,
java.lang.Double x2,
java.lang.Double y2,
java.lang.Object any1,
java.lang.Object any2,
java.lang.Object any3)
Creates a trace point and stores it in the internal list.
|
static void |
trace(java.lang.String msg,
java.lang.Integer windowId,
java.lang.Integer x1,
java.lang.Integer y1,
java.lang.Integer x2,
java.lang.Integer y2,
java.lang.Object any1)
Creates a trace point and stores it in the internal list.
|
static void |
trace(java.lang.String msg,
java.lang.Integer windowId,
java.lang.Integer x1,
java.lang.Integer y1,
java.lang.Integer x2,
java.lang.Integer y2,
java.lang.Object any1,
java.lang.Object any2)
Creates a trace point and stores it in the internal list.
|
static void |
trace(java.lang.String msg,
java.lang.Integer windowId,
java.lang.Integer x1,
java.lang.Integer y1,
java.lang.Integer x2,
java.lang.Integer y2,
java.lang.Object any1,
java.lang.Object any2,
java.lang.Object any3)
Creates a trace point and stores it in the internal list.
|
private static void |
traceImpl(java.lang.String msg,
java.lang.Integer windowId,
java.lang.Double x1,
java.lang.Double y1,
java.lang.Double x2,
java.lang.Double y2,
java.lang.Object any1,
java.lang.Object any2,
java.lang.Object any3)
Creates a trace point and stores it in the internal list.
|
private static boolean enabled
private static int callStackEntries
private static java.util.concurrent.ConcurrentLinkedQueue<TracePoint> traceEntries
public static boolean enabled()
true
if tracing is enabled.public static void enable()
public static void disable()
public static void trace(java.lang.String msg, java.lang.Integer windowId, java.lang.Integer x1, java.lang.Integer y1, java.lang.Integer x2, java.lang.Integer y2, java.lang.Object any1)
msg
- An optional message to store in the trace point.
// TODO: these are too specificwindowId
- x1
- y1
- x2
- y2
- any1
- Optional reference to store with the trace point.public static void trace(java.lang.String msg, java.lang.Integer windowId, java.lang.Integer x1, java.lang.Integer y1, java.lang.Integer x2, java.lang.Integer y2, java.lang.Object any1, java.lang.Object any2)
msg
- An optional message to store in the trace point.
// TODO: these are too specificwindowId
- x1
- y1
- x2
- y2
- any1
- Optional reference to store with the trace point.any2
- Optional reference to store with the trace point.public static void trace(java.lang.String msg, java.lang.Integer windowId, java.lang.Integer x1, java.lang.Integer y1, java.lang.Integer x2, java.lang.Integer y2, java.lang.Object any1, java.lang.Object any2, java.lang.Object any3)
msg
- An optional message to store in the trace point.
// TODO: these are too specificwindowId
- x1
- y1
- x2
- y2
- any1
- Optional reference to store with the trace point.any2
- Optional reference to store with the trace point.any3
- Optional reference to store with the trace point.public static void trace(java.lang.String msg, java.lang.Integer windowId, java.lang.Double x1, java.lang.Double y1, java.lang.Double x2, java.lang.Double y2, java.lang.Object any1)
msg
- An optional message to store in the trace point.
// TODO: these are too specificwindowId
- x1
- y1
- x2
- y2
- any1
- Optional reference to store with the trace point.public static void trace(java.lang.String msg, java.lang.Integer windowId, java.lang.Double x1, java.lang.Double y1, java.lang.Double x2, java.lang.Double y2, java.lang.Object any1, java.lang.Object any2)
msg
- An optional message to store in the trace point.
// TODO: these are too specificwindowId
- x1
- y1
- x2
- y2
- any1
- Optional reference to store with the trace point.any2
- Optional reference to store with the trace point.public static void trace(java.lang.String msg, java.lang.Integer windowId, java.lang.Double x1, java.lang.Double y1, java.lang.Double x2, java.lang.Double y2, java.lang.Object any1, java.lang.Object any2, java.lang.Object any3)
msg
- An optional message to store in the trace point.
// TODO: these are too specificwindowId
- x1
- y1
- x2
- y2
- any1
- Optional reference to store with the trace point.any2
- Optional reference to store with the trace point.any3
- Optional reference to store with the trace point.private static void traceImpl(java.lang.String msg, java.lang.Integer windowId, java.lang.Double x1, java.lang.Double y1, java.lang.Double x2, java.lang.Double y2, java.lang.Object any1, java.lang.Object any2, java.lang.Object any3)
msg
- An optional message to store in the trace point.
// TODO: these are too specificwindowId
- x1
- y1
- x2
- y2
- any1
- Optional reference to store with the trace point.any2
- Optional reference to store with the trace point.any3
- Optional reference to store with the trace point.