-
- All Implemented Interfaces:
-
com.datadog.trace.api.profiling.Profiling
public interface ProfilingContextIntegration implements Profiling
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProfilingContextIntegration.NoOp
-
Method Summary
Modifier and Type Method Description voidonStart()invoked when the profiler is started, implementations must not initialise JFR before this iscalled. voidonAttach()Invoked when a trace first propagates to a thread voidonDetach()Invoked when a thread exits StatefulnewScopeState(ProfilerContext profilerContext)intencode(CharSequence constant)intencodeOperationName(CharSequence constant)intencodeResourceName(CharSequence constant)abstract Stringname()-
-
Method Detail
-
onStart
void onStart()
invoked when the profiler is started, implementations must not initialise JFR before this iscalled.
-
onAttach
void onAttach()
Invoked when a trace first propagates to a thread
-
onDetach
void onDetach()
Invoked when a thread exits
-
newScopeState
Stateful newScopeState(ProfilerContext profilerContext)
-
encode
int encode(CharSequence constant)
-
encodeOperationName
int encodeOperationName(CharSequence constant)
-
encodeResourceName
int encodeResourceName(CharSequence constant)
-
-
-
-