Class VertxFutureAdapter
- java.lang.Object
-
- graphql.execution.instrumentation.SimplePerformantInstrumentation
-
- io.vertx.ext.web.handler.graphql.instrumentation.VertxFutureAdapter
-
- All Implemented Interfaces:
graphql.execution.instrumentation.Instrumentation
public class VertxFutureAdapter extends graphql.execution.instrumentation.SimplePerformantInstrumentation
Instrument data fetchers so thatFuture
results are automatically converted toCompletionStage
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VertxFutureAdapter
create()
graphql.schema.DataFetcher<?>
instrumentDataFetcher(graphql.schema.DataFetcher<?> dataFetcher, graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters, graphql.execution.instrumentation.InstrumentationState state)
-
Methods inherited from class graphql.execution.instrumentation.SimplePerformantInstrumentation
beginExecuteObject, beginExecuteOperation, beginExecution, beginExecutionStrategy, beginFieldCompletion, beginFieldExecution, beginFieldFetch, beginFieldListCompletion, beginParse, beginSubscribedFieldEvent, beginValidation, createState, createStateAsync, instrumentDocumentAndVariables, instrumentExecutionContext, instrumentExecutionInput, instrumentExecutionResult, instrumentSchema
-
-
-
-
Method Detail
-
instrumentDataFetcher
public graphql.schema.DataFetcher<?> instrumentDataFetcher(graphql.schema.DataFetcher<?> dataFetcher, graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters, graphql.execution.instrumentation.InstrumentationState state)
- Specified by:
instrumentDataFetcher
in interfacegraphql.execution.instrumentation.Instrumentation
- Overrides:
instrumentDataFetcher
in classgraphql.execution.instrumentation.SimplePerformantInstrumentation
-
create
public static VertxFutureAdapter create()
-
-