public interface Instrumentation
Modifier and Type | Method and Description |
---|---|
InstrumentationContext<ExecutionResult> |
beginDataFetch(DataFetchParameters parameters)
This is called just before the data fetch is started and when this step finishes the
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished. |
InstrumentationContext<ExecutionResult> |
beginExecution(ExecutionParameters parameters)
This is called just before a query is executed and when this step finishes the
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished. |
InstrumentationContext<ExecutionResult> |
beginField(FieldParameters parameters)
This is called just before a field is resolved and when this step finishes the
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished. |
InstrumentationContext<java.lang.Object> |
beginFieldFetch(FieldFetchParameters parameters)
This is called just before a field
DataFetcher is invoked and when this step finishes the InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished. |
InstrumentationContext<Document> |
beginParse(ExecutionParameters parameters)
This is called just before a query is parsed and when this step finishes the
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished. |
InstrumentationContext<java.util.List<ValidationError>> |
beginValidation(ValidationParameters parameters)
This is called just before the parsed query Document is validated and when this step finishes the
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished. |
InstrumentationContext<ExecutionResult> beginExecution(ExecutionParameters parameters)
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endsInstrumentationContext<Document> beginParse(ExecutionParameters parameters)
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endsInstrumentationContext<java.util.List<ValidationError>> beginValidation(ValidationParameters parameters)
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endsInstrumentationContext<ExecutionResult> beginDataFetch(DataFetchParameters parameters)
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endsInstrumentationContext<ExecutionResult> beginField(FieldParameters parameters)
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endsInstrumentationContext<java.lang.Object> beginFieldFetch(FieldFetchParameters parameters)
DataFetcher
is invoked and when this step finishes the InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step ends