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/Swap__Monitor.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Swap__Monitor.java (file contents):
Revision 1.12 by tdb, Mon Mar 10 08:59:19 2003 UTC vs.
Revision 1.13 by tdb, Mon Mar 10 14:39:33 2003 UTC

# Line 118 | Line 118 | public class Swap__Monitor extends MonitorSkeleton {
118          NumberFormat nf = NumberFormat.getInstance();
119          nf.setMaximumFractionDigits(2);
120          nf.setMinimumFractionDigits(2);
121 <        String strSwapInUse = nf.format(swapInUse);
121 >        String strSwapInUse = nf.format(curValue);
122  
123          String attributeName = "Swap in use " + type;
124  
# Line 211 | Line 211 | public class Swap__Monitor extends MonitorSkeleton {
211       * be changed to null for utility classes.
212       */
213      private String _name = "Swap";
214 <    
214 >
215 >    /**
216 >     * A reference to the configuration proxy in use
217 >     */
218 >    private ConfigurationProxy _cp = ConfigurationProxy.getInstance();
219 >
220      /**
221       * A HashMap of Registers (or groups of Registers), one
222       * for each host we're monitoring.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines