Class MyInstrumentation

java.lang.Object
graphql.execution.instrumentation.SimpleInstrumentation
org.allGraphQLCases.server.config.MyInstrumentation
All Implemented Interfaces:
graphql.execution.instrumentation.Instrumentation

public class MyInstrumentation extends graphql.execution.instrumentation.SimpleInstrumentation
This class has been copied from this thread, based on graphql-java's TracingInstrumentation.
Author:
Joe
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class graphql.execution.instrumentation.SimpleInstrumentation

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    CompletableFuture<graphql.ExecutionResult>
    instrumentExecutionResult(graphql.ExecutionResult executionResult, graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters parameters)
     

    Methods inherited from class graphql.execution.instrumentation.SimpleInstrumentation

    beginExecuteOperation, beginExecution, beginExecutionStrategy, beginField, beginFieldFetch, beginParse, beginValidation

    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

    beginFieldComplete, beginFieldListComplete, beginSubscribedFieldEvent, createState, createState, instrumentDataFetcher, instrumentDocumentAndVariables, instrumentExecutionContext, instrumentExecutionInput, instrumentSchema
  • Constructor Details

    • MyInstrumentation

      public MyInstrumentation()
  • Method Details

    • instrumentExecutionResult

      public CompletableFuture<graphql.ExecutionResult> instrumentExecutionResult(graphql.ExecutionResult executionResult, graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters parameters)