From a88b074c8d706cff33f2f4d2ad8cb188a7f4ef8b Mon Sep 17 00:00:00 2001 From: MinJun Kweon Date: Fri, 10 Jul 2020 22:01:44 +0900 Subject: [PATCH] Add getChunkSize in SimpleCompletionPolicy resolved #3738 --- .../batch/repeat/policy/SimpleCompletionPolicy.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/SimpleCompletionPolicy.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/SimpleCompletionPolicy.java index 15b1ca3bf..8e30ccfb4 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/SimpleCompletionPolicy.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/SimpleCompletionPolicy.java @@ -51,6 +51,10 @@ public class SimpleCompletionPolicy extends DefaultResultCompletionPolicy { this.chunkSize = chunkSize; } + public int getChunkSize() { + return chunkSize; + } + /** * Reset the counter. *