Interface InstrumentationState
- All Known Implementing Classes:
TracingSupport
An
Instrumentation
implementation can create this as a stateful object that is then passed
to each instrumentation method, allowing state to be passed down with the request execution- See Also:
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T extends InstrumentationState>
TofState
(InstrumentationState rawState) This helper method allows you to cast fromInstrumentationState
to a custom classes more easily.
-
Method Details
-
ofState
This helper method allows you to cast fromInstrumentationState
to a custom classes more easily.- Type Parameters:
T
- for two- Parameters:
rawState
- the raw InstrumentationState- Returns:
- a cast custom InstrumentationState
-