ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/util/uk/org/iscream/cms/util/QueueMonitor.java
(Generate patch)

Comparing projects/cms/source/util/uk/org/iscream/cms/util/QueueMonitor.java (file contents):
Revision 1.5 by tdb, Thu Mar 1 15:46:23 2001 UTC vs.
Revision 1.7 by tdb, Wed Mar 14 23:25:29 2001 UTC

# Line 1 | Line 1
1   //---PACKAGE DECLARATION---
2 < package uk.ac.ukc.iscream.util;
2 > package uk.org.iscream.util;
3  
4   //---IMPORTS---
5 < import uk.ac.ukc.iscream.util.*;
5 > import uk.org.iscream.util.*;
6  
7   /**
8   * This class monitors a given Queue at regular intervals,
# Line 34 | Line 34 | class QueueMonitor extends Thread {
34       * @param name A name to identify the source Queue with
35       */
36      public QueueMonitor (Queue sourceQueue, Queue destQueue, long interval, String name) {
37 +        // set the Thread name
38 +        setName("util.QueueMonitor");
39 +        
40          _sourceQueue = sourceQueue;
41          _destQueue = destQueue;
42          _interval = interval;
# Line 84 | Line 87 | class QueueMonitor extends Thread {
87       * Overrides the {@link java.lang.Object#toString() Object.toString()}
88       * method to provide clean logging (every class should have this).
89       *
90 <     * This uses the uk.ac.ukc.iscream.util.FormatName class
90 >     * This uses the uk.org.iscream.util.FormatName class
91       * to format the toString()
92       *
93       * @return the name of this class and its CVS revision

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines