JAMES-2612 Return batch sizes in StoreMailboxManager
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/f01817f9 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/f01817f9 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/f01817f9 Branch: refs/heads/master Commit: f01817f90147acdafd26a62427d7719a0e85d862 Parents: 793e595 Author: Antoine Duprat <[email protected]> Authored: Wed Nov 28 13:59:17 2018 +0100 Committer: Raphael Ouazana <[email protected]> Committed: Mon Dec 3 11:16:29 2018 +0100 ---------------------------------------------------------------------- .../org/apache/james/mailbox/store/StoreMailboxManager.java | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/f01817f9/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreMailboxManager.java ---------------------------------------------------------------------- diff --git a/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreMailboxManager.java b/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreMailboxManager.java index 40885a6..7eb53d8 100644 --- a/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreMailboxManager.java +++ b/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreMailboxManager.java @@ -191,10 +191,18 @@ public class StoreMailboxManager implements MailboxManager { this.copyBatcher = new MessageBatcher(batchSizes.getCopyBatchSize()); } + public int getCopyBatchSize() { + return copyBatcher.getBatchSize(); + } + public void setMoveBatchSize(BatchSizes batchSizes) { this.moveBatcher = new MessageBatcher(batchSizes.getMoveBatchSize()); } + public int getMoveBatchSize() { + return moveBatcher.getBatchSize(); + } + public void setBatchSizes(BatchSizes batchSizes) { this.batchSizes = batchSizes; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
