graphql.execution.preparsed.persisted.InMemoryPersistedQueryCache Maven / Gradle / Ivy
package graphql.execution.preparsed.persisted;
import graphql.Assert;
import graphql.ExecutionInput;
import graphql.PublicApi;
import graphql.execution.preparsed.PreparsedDocumentEntry;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ConcurrentHashMap;
/**
* A PersistedQueryCache that is just an in memory map of known queries.
*/
@PublicApi
public class InMemoryPersistedQueryCache implements PersistedQueryCache {
private final Map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy