public final class NoOpInstrumentation extends java.lang.Object implements Instrumentation
Modifier and Type | Field and Description |
---|---|
static NoOpInstrumentation |
INSTANCE |
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. |
public static NoOpInstrumentation INSTANCE
public InstrumentationContext<ExecutionResult> beginExecution(ExecutionParameters parameters)
Instrumentation
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.beginExecution
in interface Instrumentation
parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endspublic InstrumentationContext<Document> beginParse(ExecutionParameters parameters)
Instrumentation
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.beginParse
in interface Instrumentation
parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endspublic InstrumentationContext<java.util.List<ValidationError>> beginValidation(ValidationParameters parameters)
Instrumentation
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.beginValidation
in interface Instrumentation
parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endspublic InstrumentationContext<ExecutionResult> beginDataFetch(DataFetchParameters parameters)
Instrumentation
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.beginDataFetch
in interface Instrumentation
parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endspublic InstrumentationContext<ExecutionResult> beginField(FieldParameters parameters)
Instrumentation
InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.beginField
in interface Instrumentation
parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step endspublic InstrumentationContext<java.lang.Object> beginFieldFetch(FieldFetchParameters parameters)
Instrumentation
DataFetcher
is invoked and when this step finishes the InstrumentationContext.onEnd(Object)
will be called indicating that the step has finished.beginFieldFetch
in interface Instrumentation
parameters
- the parameters to this stepInstrumentationContext
object that will be called back when the step ends