diff --git a/spring-batch-docs/src/main/asciidoc/scalability.adoc b/spring-batch-docs/src/main/asciidoc/scalability.adoc index 763095cec3..4a387f8e5b 100644 --- a/spring-batch-docs/src/main/asciidoc/scalability.adoc +++ b/spring-batch-docs/src/main/asciidoc/scalability.adoc @@ -302,6 +302,11 @@ configuration: ---- +[role="xmlContent"] +Similar to the multi-threaded step's `throttle-limit` attribute, the `grid-size` +attribute prevents the task executor from being saturated with requests from a single +step. + [role="javaContent"] The following example shows the `PartitionStep` configuration when using Java configuration: @@ -320,11 +325,6 @@ public Step step1Manager() { } ---- -[role="xmlContent"] -Similar to the multi-threaded step's `throttle-limit` attribute, the `grid-size` -attribute prevents the task executor from being saturated with requests from a single -step. - [role="javaContent"] Similar to the multi-threaded step's `throttleLimit` method, the `gridSize` method prevents the task executor from being saturated with requests from a single