Class SimpleInstrumentation
java.lang.Object
graphql.execution.instrumentation.SimpleInstrumentation
- All Implemented Interfaces:
Instrumentation
@PublicApi
@Deprecated(since="2022-10-05")
public class SimpleInstrumentation
extends Object
implements Instrumentation
Deprecated.
An implementation of
Instrumentation
that does nothing. It can be used
as a base for derived classes where you only implement the methods you want to. With all the methods in Instrumentation
now defaulted (post Java 6) this class is really not needed anymore but has been retained for backwards compatibility
reasons.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleInstrumentation
Deprecated.A singleton instance of aInstrumentation
that does nothing -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface graphql.execution.instrumentation.Instrumentation
beginDeferredField, beginExecuteObject, beginExecuteOperation, beginExecution, beginExecutionStrategy, beginFieldCompletion, beginFieldExecution, beginFieldFetch, beginFieldFetching, beginFieldListCompletion, beginParse, beginSubscribedFieldEvent, beginValidation, createState, createStateAsync, instrumentDataFetcher, instrumentDocumentAndVariables, instrumentExecutionContext, instrumentExecutionInput, instrumentExecutionResult, instrumentSchema
-
Field Details
-
INSTANCE
Deprecated.A singleton instance of aInstrumentation
that does nothing
-
-
Constructor Details
-
SimpleInstrumentation
public SimpleInstrumentation()Deprecated.
-
SimplePerformantInstrumentation
instead as a base class.