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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Queue__Monitor.java (file contents):
Revision 1.11 by tdb, Fri Mar 23 18:07:42 2001 UTC vs.
Revision 1.12 by tdb, Wed May 23 18:29:36 2001 UTC

# Line 68 | Line 68 | public class Queue__Monitor extends MonitorSkeleton {
68                  String dataKey = (String) i.next();
69                  if(dataKey.startsWith("packet.queue.attributes.queue")) {
70                      String queueSize = packet.getParam(dataKey);
71 +                    
72 +                    // silently ignore these
73 +                    // they're generated by the queueMonitor for deleted queues
74 +                    if(queueSize.equals("[deleted]")) {
75 +                        break;
76 +                    }
77  
78                      // *** now process this queue ***
79  
# Line 105 | Line 111 | public class Queue__Monitor extends MonitorSkeleton {
111                          // we default to percentage
112                      }
113                      
114 <                    // this  bit determines if the disk check is a % check
115 <                    // or a kb check
114 >                    // this  bit determines if the queue check is a % check
115 >                    // or a literal value check
116                      double checkValue;
117                      String type;
118                      if(useValue) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines