Class RequestTraceSpanStore
- java.lang.Object
-
- fish.payara.nucleus.requesttracing.RequestTraceSpanStore
-
@Service @Singleton public class RequestTraceSpanStore extends Object
- Since:
- 4.1.1.163
- Author:
- mertcaliskan
Stores all request events in a thread local that are being traced.
The start of the trace is marked with
EventType.TRACE_START
and the end of the trace is marked withEventType#TRACE_END
. All the request events placed in between are marked with a conversation id, which is the id of request event with typeEventType.TRACE_START
.
-
-
Constructor Summary
Constructors Constructor Description RequestTraceSpanStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestTrace
getTrace()
Returns the full traceIterable<Map.Entry<Thread,RequestTrace>>
getTraces()
-
-
-
Method Detail
-
getTraces
public Iterable<Map.Entry<Thread,RequestTrace>> getTraces()
-
getTrace
public RequestTrace getTrace()
Returns the full trace- Returns:
- Since:
- 4.1.2.173
-
-