Package graphql.execution
Interface ExecutionIdProvider
-
@PublicSpi public interface ExecutionIdProvider
A provider ofExecutionId
s
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionIdProvider
DEFAULT_EXECUTION_ID_PROVIDER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionId
provide(java.lang.String query, java.lang.String operationName, java.lang.Object context)
Allows provision of a unique identifier per query execution.
-
-
-
Field Detail
-
DEFAULT_EXECUTION_ID_PROVIDER
static final ExecutionIdProvider DEFAULT_EXECUTION_ID_PROVIDER
-
-
Method Detail
-
provide
ExecutionId provide(java.lang.String query, java.lang.String operationName, java.lang.Object context)
Allows provision of a unique identifier per query execution.- Parameters:
query
- the query to be executedoperationName
- thr name of the operationcontext
- the context object passed to the query- Returns:
- a non null
ExecutionId
-
-