graphql.execution.ExecutionIdProvider Maven / Gradle / Ivy
package graphql.execution;
/**
* A provider of {@link ExecutionId}s
*/
public interface ExecutionIdProvider {
/**
* Allows provision of a unique identifier per query execution.
*
* @param query the query to be executed
* @param operationName thr name of the operation
* @param context the context object passed to the query
*
* @return a non null {@link ExecutionId}
*/
ExecutionId provide(String query, String operationName, Object context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy