Polish code indent in Javadocs
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
23878c6cca
commit
15f3637ac8
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2018-2019 the original author or authors.
|
||||
* Copyright 2018-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -58,34 +58,34 @@ import org.springframework.integration.config.EnableIntegration;
|
||||
* @EnableBatchProcessing
|
||||
* public class RemoteChunkingAppConfig {
|
||||
*
|
||||
* @Autowired
|
||||
* private RemoteChunkingManagerStepBuilderFactory managerStepBuilderFactory;
|
||||
* @Autowired
|
||||
* private RemoteChunkingManagerStepBuilderFactory managerStepBuilderFactory;
|
||||
*
|
||||
* @Autowired
|
||||
* private RemoteChunkingWorkerBuilder workerBuilder;
|
||||
* @Autowired
|
||||
* private RemoteChunkingWorkerBuilder workerBuilder;
|
||||
*
|
||||
* @Bean
|
||||
* public TaskletStep managerStep() {
|
||||
* return this.managerStepBuilderFactory
|
||||
* .get("managerStep")
|
||||
* .chunk(100)
|
||||
* .reader(itemReader())
|
||||
* .outputChannel(outgoingRequestsToWorkers())
|
||||
* .inputChannel(incomingRepliesFromWorkers())
|
||||
* .build();
|
||||
* }
|
||||
* @Bean
|
||||
* public TaskletStep managerStep() {
|
||||
* return this.managerStepBuilderFactory
|
||||
* .get("managerStep")
|
||||
* .chunk(100)
|
||||
* .reader(itemReader())
|
||||
* .outputChannel(outgoingRequestsToWorkers())
|
||||
* .inputChannel(incomingRepliesFromWorkers())
|
||||
* .build();
|
||||
* }
|
||||
*
|
||||
* @Bean
|
||||
* public IntegrationFlow worker() {
|
||||
* return this.workerBuilder
|
||||
* .itemProcessor(itemProcessor())
|
||||
* .itemWriter(itemWriter())
|
||||
* .inputChannel(incomingRequestsFromManager())
|
||||
* .outputChannel(outgoingRepliesToManager())
|
||||
* .build();
|
||||
* }
|
||||
* @Bean
|
||||
* public IntegrationFlow worker() {
|
||||
* return this.workerBuilder
|
||||
* .itemProcessor(itemProcessor())
|
||||
* .itemWriter(itemWriter())
|
||||
* .inputChannel(incomingRequestsFromManager())
|
||||
* .outputChannel(outgoingRepliesToManager())
|
||||
* .build();
|
||||
* }
|
||||
*
|
||||
* // Middleware beans omitted
|
||||
* // Middleware beans omitted
|
||||
*
|
||||
* }
|
||||
* </pre>
|
||||
@@ -98,42 +98,43 @@ import org.springframework.integration.config.EnableIntegration;
|
||||
* @EnableBatchProcessing
|
||||
* public class RemotePartitioningAppConfig {
|
||||
*
|
||||
* @Autowired
|
||||
* private RemotePartitioningManagerStepBuilderFactory managerStepBuilderFactory;
|
||||
* @Autowired
|
||||
* private RemotePartitioningManagerStepBuilderFactory managerStepBuilderFactory;
|
||||
*
|
||||
* @Autowired
|
||||
* private RemotePartitioningWorkerStepBuilderFactory workerStepBuilderFactory;
|
||||
* @Autowired
|
||||
* private RemotePartitioningWorkerStepBuilderFactory workerStepBuilderFactory;
|
||||
*
|
||||
* @Bean
|
||||
* public Step managerStep() {
|
||||
* return this.managerStepBuilderFactory
|
||||
* .get("managerStep")
|
||||
* .partitioner("workerStep", partitioner())
|
||||
* .gridSize(10)
|
||||
* .outputChannel(outgoingRequestsToWorkers())
|
||||
* .inputChannel(incomingRepliesFromWorkers())
|
||||
* .build();
|
||||
* }
|
||||
* @Bean
|
||||
* public Step managerStep() {
|
||||
* return this.managerStepBuilderFactory
|
||||
* .get("managerStep")
|
||||
* .partitioner("workerStep", partitioner())
|
||||
* .gridSize(10)
|
||||
* .outputChannel(outgoingRequestsToWorkers())
|
||||
* .inputChannel(incomingRepliesFromWorkers())
|
||||
* .build();
|
||||
* }
|
||||
*
|
||||
* @Bean
|
||||
* public Step workerStep() {
|
||||
* return this.workerStepBuilderFactory
|
||||
* .get("workerStep")
|
||||
* .inputChannel(incomingRequestsFromManager())
|
||||
* .outputChannel(outgoingRepliesToManager())
|
||||
* .chunk(100)
|
||||
* .reader(itemReader())
|
||||
* .processor(itemProcessor())
|
||||
* .writer(itemWriter())
|
||||
* .build();
|
||||
* }
|
||||
* @Bean
|
||||
* public Step workerStep() {
|
||||
* return this.workerStepBuilderFactory
|
||||
* .get("workerStep")
|
||||
* .inputChannel(incomingRequestsFromManager())
|
||||
* .outputChannel(outgoingRepliesToManager())
|
||||
* .chunk(100)
|
||||
* .reader(itemReader())
|
||||
* .processor(itemProcessor())
|
||||
* .writer(itemWriter())
|
||||
* .build();
|
||||
* }
|
||||
*
|
||||
* // Middleware beans omitted
|
||||
* // Middleware beans omitted
|
||||
*
|
||||
* }
|
||||
* </pre>
|
||||
* @since 4.1
|
||||
* @author Mahmoud Ben Hassine
|
||||
* @author Taeik Lim
|
||||
*/
|
||||
@Target(ElementType.TYPE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
||||
Reference in New Issue
Block a user