james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [13/17] james-project git commit: JAMES-2555 Visibility for ReIndexerPerformer
Date Mon, 15 Oct 2018 06:28:36 GMT
JAMES-2555 Visibility for ReIndexerPerformer


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/f354e3c2
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/f354e3c2
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/f354e3c2

Branch: refs/heads/master
Commit: f354e3c28c5b9262eebd7f2d17ac105f1d9059f7
Parents: 7c4f4d8
Author: Benoit Tellier <btellier@linagora.com>
Authored: Mon Oct 15 10:01:22 2018 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Mon Oct 15 13:17:46 2018 +0700

----------------------------------------------------------------------
 .../mailbox/tools/indexer/ReIndexerPerformer.java       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/f354e3c2/mailbox/tools/indexer/src/main/java/org/apache/mailbox/tools/indexer/ReIndexerPerformer.java
----------------------------------------------------------------------
diff --git a/mailbox/tools/indexer/src/main/java/org/apache/mailbox/tools/indexer/ReIndexerPerformer.java
b/mailbox/tools/indexer/src/main/java/org/apache/mailbox/tools/indexer/ReIndexerPerformer.java
index e70b88d..c2d471d 100644
--- a/mailbox/tools/indexer/src/main/java/org/apache/mailbox/tools/indexer/ReIndexerPerformer.java
+++ b/mailbox/tools/indexer/src/main/java/org/apache/mailbox/tools/indexer/ReIndexerPerformer.java
@@ -48,7 +48,7 @@ import org.slf4j.LoggerFactory;
 import com.github.fge.lambdas.Throwing;
 import com.google.common.collect.Lists;
 
-public class ReIndexerPerformer {
+class ReIndexerPerformer {
 
     private static final Logger LOGGER = LoggerFactory.getLogger(ReIndexerPerformer.class);
 
@@ -60,20 +60,20 @@ public class ReIndexerPerformer {
     private final MailboxSessionMapperFactory mailboxSessionMapperFactory;
 
     @Inject
-    public ReIndexerPerformer(MailboxManager mailboxManager,
-                              ListeningMessageSearchIndex messageSearchIndex,
-                              MailboxSessionMapperFactory mailboxSessionMapperFactory) {
+    ReIndexerPerformer(MailboxManager mailboxManager,
+                       ListeningMessageSearchIndex messageSearchIndex,
+                       MailboxSessionMapperFactory mailboxSessionMapperFactory) {
         this.mailboxManager = mailboxManager;
         this.messageSearchIndex = messageSearchIndex;
         this.mailboxSessionMapperFactory = mailboxSessionMapperFactory;
     }
 
-    public Task.Result reIndex(MailboxPath path, ReprocessingContext reprocessingContext)
throws MailboxException {
+    Task.Result reIndex(MailboxPath path, ReprocessingContext reprocessingContext) throws
MailboxException {
         MailboxSession mailboxSession = mailboxManager.createSystemSession(path.getUser());
         return reIndex(path, mailboxSession, reprocessingContext);
     }
 
-    public Task.Result reIndex(ReprocessingContext reprocessingContext) throws MailboxException
{
+    Task.Result reIndex(ReprocessingContext reprocessingContext) throws MailboxException
{
         MailboxSession mailboxSession = mailboxManager.createSystemSession("re-indexing");
         LOGGER.info("Starting a full reindex");
         List<MailboxPath> mailboxPaths = mailboxManager.list(mailboxSession);


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message