Update of /var/cvs/src/org/mmbase/core/util
In directory james.mmbase.org:/tmp/cvs-serv17632

Modified Files:
        DaemonTask.java DaemonThread.java 
Log Message:
javadoc


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/core/util


Index: DaemonTask.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/core/util/DaemonTask.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DaemonTask.java     9 Jul 2008 16:02:05 -0000       1.2
+++ DaemonTask.java     16 Sep 2008 16:42:17 -0000      1.3
@@ -14,7 +14,8 @@
  * A task should define a [EMAIL PROTECTED] #executeTask()} method and a 
[EMAIL PROTECTED] #getSleepPeriod()} method to define it's behavior.
  *
  * @since MMBase-1.8
- * @deprecated  This class copies functionality present in e.g. 
java.util.concurrent.ScheduledThreadPoolExecutor
+ * @deprecated  This class copies functionality present in
+ * e.g. java.util.concurrent.ScheduledThreadPoolExecutor (a thread pool which 
can be used is e.g. [EMAIL PROTECTED] org.mmbase.util.ThreadPools#scheduler}).
  */
 public interface DaemonTask {
 


Index: DaemonThread.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/core/util/DaemonThread.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- DaemonThread.java   6 Sep 2008 14:33:53 -0000       1.4
+++ DaemonThread.java   16 Sep 2008 16:42:17 -0000      1.5
@@ -14,11 +14,14 @@
 
 /**
  * Defines a daemon thread that runs in the threadgroup belonging to this 
MMBase context.
+ *
  * @since MMBase-1.8
  * @author Pierre van Rooden
- * @version $Id: DaemonThread.java,v 1.4 2008/09/06 14:33:53 michiel Exp $
- * @deprecated  This class copies functionality present in e.g. 
java.util.concurrent.ScheduledThreadPoolExecutor
-
+ * @version $Id: DaemonThread.java,v 1.5 2008/09/16 16:42:17 michiel Exp $
+ * @deprecated  This class copies functionality present in
+ * e.g. java.util.concurrent.ScheduledThreadPoolExecutor (a thread pool which 
can be used is
+ * e.g. [EMAIL PROTECTED] org.mmbase.util.ThreadPools#scheduler}). If 
scheduling is not used, then only the
+ * thread group is special, which can just as well be obtained by [EMAIL 
PROTECTED] MMBaseContext#getThreadGroup}.
  */
 public class DaemonThread extends Thread implements DaemonTask  {
 
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to