Update of /var/cvs/contributions/lucene/src/org/mmbase/module/lucene
In directory james.mmbase.org:/tmp/cvs-serv7120

Modified Files:
        Lucene.java 
Log Message:
thread group, thread name for Scheduler


See also: 
http://cvs.mmbase.org/viewcvs/contributions/lucene/src/org/mmbase/module/lucene


Index: Lucene.java
===================================================================
RCS file: 
/var/cvs/contributions/lucene/src/org/mmbase/module/lucene/Lucene.java,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -b -r1.122 -r1.123
--- Lucene.java 20 Aug 2008 17:02:47 -0000      1.122
+++ Lucene.java 6 Sep 2008 14:39:14 -0000       1.123
@@ -48,7 +48,7 @@
  *
  * @author Pierre van Rooden
  * @author Michiel Meeuwissen
- * @version $Id: Lucene.java,v 1.122 2008/08/20 17:02:47 michiel Exp $
+ * @version $Id: Lucene.java,v 1.123 2008/09/06 14:39:14 michiel Exp $
  **/
 public class Lucene extends ReloadableModule implements NodeEventListener, 
RelationEventListener, IdEventListener, AssignmentEvents.Listener {
 
@@ -709,7 +709,7 @@
                        }
                        try {
                            if (initialWaitTime > 0) {
-                               log.info("Sleeping " + (initialWaitTime / 1000) 
+ " seconds for initialisation");
+                               log.service("Sleeping " + (initialWaitTime / 
1000) + " seconds for initialisation");
                                Thread.sleep(initialWaitTime);
                            }
                        } catch (InterruptedException ie) {
@@ -1169,7 +1169,7 @@
         private BlockingQueue<Scheduler.Assignment> indexAssignments = new 
DelayQueue<Scheduler.Assignment>();
 
         Scheduler() {
-            super("Lucene.Scheduler");
+            super(MMBaseContext.getThreadGroup(), null, 
MMBaseContext.getMachineName() + ":Lucene.Scheduler");
             setDaemon(true);
             start();
         }
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to