This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch CAUSEWAY-3745 in repository https://gitbox.apache.org/repos/asf/causeway.git
commit d389e3c482a41dfcec4977dc86d4c4b8da43b32f Author: Dan Haywood <[email protected]> AuthorDate: Thu May 23 17:57:51 2024 +0100 CAUSEWAY-3745: updates javadoc is all. --- .../org/apache/causeway/core/config/CausewayConfiguration.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java b/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java index 3bef1031e0..41f2c7c3e5 100644 --- a/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java +++ b/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java @@ -32,6 +32,7 @@ import java.util.Locale; import java.util.Map; import java.util.Objects; import java.util.Optional; +import java.util.concurrent.Callable; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -2095,6 +2096,14 @@ public class CausewayConfiguration { @Data public static class Bulk { + + /** + * Determines the threshold as to whether to execute a set of entity changes in blk, in other words without a transaction flush in between. + * + * <p> + * If the threshold is passed (by default, anything more than 1 entity to persist), then the {@link org.apache.causeway.applib.services.repository.RepositoryService#execInBulk(Callable)} API is used. + * </p> + */ int threshold = 1; } }
