Package io.sentry.spring.graphql
Class SentryBatchLoaderRegistry.SentryRegistrationSpec<K,V>
java.lang.Object
io.sentry.spring.graphql.SentryBatchLoaderRegistry.SentryRegistrationSpec<K,V>
- All Implemented Interfaces:
org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K,
V>
- Enclosing class:
- SentryBatchLoaderRegistry
public static final class SentryBatchLoaderRegistry.SentryRegistrationSpec<K,V>
extends Object
implements org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K,V>
-
Constructor Summary
ConstructorDescriptionSentryRegistrationSpec
(@NotNull org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K, V> delegate, Class<K> keyType, Class<V> valueType) SentryRegistrationSpec
(@NotNull org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K, V> delegate, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerBatchLoader
(BiFunction<List<K>, org.dataloader.BatchLoaderEnvironment, reactor.core.publisher.Flux<V>> loader) void
registerMappedBatchLoader
(BiFunction<Set<K>, org.dataloader.BatchLoaderEnvironment, reactor.core.publisher.Mono<Map<K, V>>> loader) withOptions
(Consumer<org.dataloader.DataLoaderOptions> optionsConsumer) withOptions
(org.dataloader.DataLoaderOptions options)
-
Constructor Details
-
SentryRegistrationSpec
-
SentryRegistrationSpec
-
-
Method Details
-
withName
-
withOptions
-
withOptions
-
registerBatchLoader
public void registerBatchLoader(BiFunction<List<K>, org.dataloader.BatchLoaderEnvironment, reactor.core.publisher.Flux<V>> loader) -
registerMappedBatchLoader
-