public class ExecutionPoint extends Object
In particular, it combines the stack trace of the current thread with
its MDC (CallContext.getMDC()
). And therefore provides a good insight
on what was happening at the given point in time.
A readable representation can be generated by calling toString()
Modifier and Type | Method and Description |
---|---|
static ExecutionPoint |
fastSnapshot()
Generates a new instance of the current thread.
|
static ExecutionPoint |
snapshot()
Generates a new instance of the current thread.
|
String |
toString() |
public static ExecutionPoint snapshot()
public static ExecutionPoint fastSnapshot()
This does skip saving the MDC and only records the current stack trace, as this is blazing fast.
Copyright © 2018. All rights reserved.