-
- All Implemented Interfaces:
public final class GraphQLConfiguration.BatchingConfiguration
Batching configuration properties.
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
enabled
private GraphQLConfiguration.BatchingStrategy
strategy
-
Constructor Summary
Constructors Constructor Description GraphQLConfiguration.BatchingConfiguration(ApplicationConfig config)
-
Method Summary
Modifier and Type Method Description final Boolean
getEnabled()
Boolean flag to enable or disable batching for a set of GraphQL Operations. final Unit
setEnabled(Boolean enabled)
Boolean flag to enable or disable batching for a set of GraphQL Operations. final GraphQLConfiguration.BatchingStrategy
getStrategy()
configure the BatchingStrategy that will be used when batching is enabled for a set of GraphQL Operations. final Unit
setStrategy(GraphQLConfiguration.BatchingStrategy strategy)
configure the BatchingStrategy that will be used when batching is enabled for a set of GraphQL Operations. -
-
Method Detail
-
getEnabled
final Boolean getEnabled()
Boolean flag to enable or disable batching for a set of GraphQL Operations.
-
setEnabled
final Unit setEnabled(Boolean enabled)
Boolean flag to enable or disable batching for a set of GraphQL Operations.
-
getStrategy
final GraphQLConfiguration.BatchingStrategy getStrategy()
configure the BatchingStrategy that will be used when batching is enabled for a set of GraphQL Operations.
-
setStrategy
final Unit setStrategy(GraphQLConfiguration.BatchingStrategy strategy)
configure the BatchingStrategy that will be used when batching is enabled for a set of GraphQL Operations.
-
-
-
-