jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1584056 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java
Date Wed, 02 Apr 2014 14:37:52 GMT
Author: alexparvulescu
Date: Wed Apr  2 14:37:51 2014
New Revision: 1584056

URL: http://svn.apache.org/r1584056
Log:
OAK-1456 Non-blocking reindexing

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java?rev=1584056&r1=1584055&r2=1584056&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java Wed Apr
 2 14:37:51 2014
@@ -508,8 +508,14 @@ public class Oak {
             scheduleWithFixedDelay(whiteboard, task, 5, true);
             registerMBean(whiteboard, IndexStatsMBean.class,
                     task.getIndexStats(), IndexStatsMBean.TYPE, name);
+
+            name = "async-reindex";
+            task = new AsyncIndexUpdate(name, store, indexEditors, true);
+            scheduleWithFixedDelay(whiteboard, task, 5, true);
+            registerMBean(whiteboard, IndexStatsMBean.class,
+            task.getIndexStats(), IndexStatsMBean.TYPE, name);
         }
-        
+
         registerMBean(whiteboard, QueryEngineSettingsMBean.class,
                 queryEngineSettings, QueryEngineSettingsMBean.TYPE, "settings");
 



Mime
View raw message