| Constructor and Description |
|---|
NoopTracer() |
| Modifier and Type | Method and Description |
|---|---|
void |
entering(java.lang.Object source,
java.lang.String method,
java.lang.Object... params)
Creates an entering trace message.
|
void |
exiting(java.lang.Object source,
java.lang.String method)
Creates an exiting trace message.
|
void |
onError(java.lang.Object source,
java.lang.String method,
java.lang.Throwable error)
Triggered when an unhandled exception occurs.
|
<T> void |
returning(java.lang.Object source,
java.lang.String method,
T returnValue) |
void |
timeout(java.lang.Object source,
java.lang.String method,
long timeoutThreshold,
long timeout)
Triggered when the time between the entering and exiting events exceeds a certain amount of time in milliseconds.
|
void |
valueChange(java.lang.Object source,
java.lang.String method,
java.lang.String variable,
java.lang.Object newValue)
Creates a value change trace message immediately after a successful update.
|
public void entering(java.lang.Object source,
java.lang.String method,
java.lang.Object... params)
Tracerpublic void exiting(java.lang.Object source,
java.lang.String method)
TracerVoid return value.public void valueChange(java.lang.Object source,
java.lang.String method,
java.lang.String variable,
java.lang.Object newValue)
TracervalueChange in interface Tracersource - The object triggering the event.method - The method name, where the tracing event happened.variable - The name of the variable that had a new value assignednewValue - The value that was assigned to the variablepublic <T> void returning(java.lang.Object source,
java.lang.String method,
T returnValue)
public void onError(java.lang.Object source,
java.lang.String method,
java.lang.Throwable error)
Tracerpublic void timeout(java.lang.Object source,
java.lang.String method,
long timeoutThreshold,
long timeout)
Tracertimeout in interface Tracersource - The object triggering the eventmethod - The method name, where the timeout event happenedtimeoutThreshold - Threshold value for the current methodtimeout - The timeout value in milliseconds that triggered the event. This is always larger than the threshold value.