mx4j/src/core/javax/management/monitor StringMonitorMBean.java,1.3,1.4 CounterMonitorMBean.java,1.3,1.4 GaugeMonitorMBean.java,1.3,1.4

Simone Bordet <[email protected]> Sat, 28 Aug 2004 16:40:27 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/javax/management/monitor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2728/src/core/javax/management/monitor

Modified Files:
	StringMonitorMBean.java CounterMonitorMBean.java 
	GaugeMonitorMBean.java 
Log Message:
Cosmetics

Index: CounterMonitorMBean.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/monitor/CounterMonitorMBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CounterMonitorMBean.java	14 Jan 2003 04:22:08 -0000	1.3
--- CounterMonitorMBean.java	28 Aug 2004 16:40:25 -0000	1.4
***************
*** 10,16 ****
  
  import javax.management.ObjectName;
  /**
-  *
-  *
   * @author <a href="mailto:[email protected]">Carlos Quiroz</a>
   * @version $Revision$
--- 10,15 ----
  
  import javax.management.ObjectName;
+ 
  /**
   * @author <a href="mailto:[email protected]">Carlos Quiroz</a>
   * @version $Revision$
***************
*** 18,63 ****
  public interface CounterMonitorMBean extends MonitorMBean
  {
!     /**
!      * @deprecated
!      */
!   public Number getDerivedGauge();
  
!   public Number getDerivedGauge(ObjectName objectName);
!   
!   /**
!    * @deprecated
!    */
!   public long getDerivedGaugeTimeStamp();
  
!   public long getDerivedGaugeTimeStamp(ObjectName objectName);
!   
!   /**
!    * @deprecated
!    */
!   public Number getThreshold();
!   
!   public Number getThreshold(ObjectName objectName);
  
!   public Number getInitThreshold();
!   
!   public void setInitThreshold(Number value);
  
!   public void setThreshold(Number value) throws java.lang.IllegalArgumentException;
  
!   public Number getOffset();
  
!   public void setOffset(Number value) throws java.lang.IllegalArgumentException;
  
!   public Number getModulus();
  
!   public void setModulus(Number value) throws java.lang.IllegalArgumentException;
  
!   public boolean getNotify();
  
!   public void setNotify(boolean value);
  
!   public boolean getDifferenceMode();
  
!   public void setDifferenceMode(boolean value);
! }
  
--- 17,64 ----
  public interface CounterMonitorMBean extends MonitorMBean
  {
!    /**
!     * @deprecated
!     */
!    public Number getDerivedGauge();
  
!    /**
!     * @deprecated
!     */
!    public long getDerivedGaugeTimeStamp();
  
!    /**
!     * @deprecated
!     */
!    public Number getThreshold();
  
!    /**
!     * @deprecated
!     */
!    public void setThreshold(Number value) throws java.lang.IllegalArgumentException;
  
!    public Number getDerivedGauge(ObjectName objectName);
  
!    public long getDerivedGaugeTimeStamp(ObjectName objectName);
  
!    public Number getThreshold(ObjectName objectName);
  
!    public Number getInitThreshold();
  
!    public void setInitThreshold(Number value) throws IllegalArgumentException;
  
!    public Number getOffset();
  
!    public void setOffset(Number value) throws IllegalArgumentException;
  
!    public Number getModulus();
  
!    public void setModulus(Number value) throws java.lang.IllegalArgumentException;
  
+    public boolean getNotify();
+ 
+    public void setNotify(boolean value);
+ 
+    public boolean getDifferenceMode();
+ 
+    public void setDifferenceMode(boolean value);
+ }

Index: StringMonitorMBean.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/monitor/StringMonitorMBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** StringMonitorMBean.java	14 Jan 2003 04:22:08 -0000	1.3
--- StringMonitorMBean.java	28 Aug 2004 16:40:25 -0000	1.4
***************
*** 10,17 ****
  
  import javax.management.ObjectName;
  /**
-  *
-  *
-  * @see MonitorMBean
   * @author <a href="mailto:[email protected]">Carlos Quiroz</a>
   * @version $Revision$
--- 10,15 ----
  
  import javax.management.ObjectName;
+ 
  /**
   * @author <a href="mailto:[email protected]">Carlos Quiroz</a>
   * @version $Revision$
***************
*** 19,46 ****
  public interface StringMonitorMBean extends MonitorMBean
  {
!     /**
!      * @deprecated
!      */
!   public String getDerivedGauge();
  
!   public String getDerivedGauge(ObjectName objectName);
!   
!   /**
!    * @deprecated
!    */
!   public long getDerivedGaugeTimeStamp();
  
!   public long getDerivedGaugeTimeStamp(ObjectName objectName);
  
!   public String getStringToCompare();
  
!   public void setStringToCompare(String value) throws java.lang.IllegalArgumentException;
  
!   public boolean getNotifyMatch();
  
!   public void setNotifyMatch(boolean value);
  
!   public boolean getNotifyDiffer();
  
!   public void setNotifyDiffer(boolean value);
  }
--- 17,44 ----
  public interface StringMonitorMBean extends MonitorMBean
  {
!    /**
!     * @deprecated
!     */
!    public String getDerivedGauge();
  
!    /**
!     * @deprecated
!     */
!    public long getDerivedGaugeTimeStamp();
  
!    public String getDerivedGauge(ObjectName objectName);
  
!    public long getDerivedGaugeTimeStamp(ObjectName objectName);
  
!    public String getStringToCompare();
  
!    public void setStringToCompare(String value) throws IllegalArgumentException;
  
!    public boolean getNotifyMatch();
  
!    public void setNotifyMatch(boolean value);
  
!    public boolean getNotifyDiffer();
! 
!    public void setNotifyDiffer(boolean value);
  }

Index: GaugeMonitorMBean.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/monitor/GaugeMonitorMBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** GaugeMonitorMBean.java	14 Jan 2003 04:22:08 -0000	1.3
--- GaugeMonitorMBean.java	28 Aug 2004 16:40:25 -0000	1.4
***************
*** 10,51 ****
  
  import javax.management.ObjectName;
  /**
-  *
-  *
   * @author <a href="mailto:[email protected]">Carlos Quiroz</a>
   * @version $Revision$
   */
! public interface GaugeMonitorMBean extends MonitorMBean {
!     /** 
!      * @deprecated
!      */
!     public Number getDerivedGauge();
!     
!     public Number getDerivedGauge(ObjectName objectName);
  
!     /**
!      * @deprecated
!      */
!     public long getDerivedGaugeTimeStamp();
!     
!     public long getDerivedGaugeTimeStamp(ObjectName objectName);
  
!     public Number getHighThreshold();
!     
!     public Number getLowThreshold();
!     
!     public void setThresholds(Number highValue, Number lowValue) throws java.lang.IllegalArgumentException;
!     
!     public boolean getNotifyHigh();
!     
!     public void setNotifyHigh(boolean value);
!     
!     public boolean getNotifyLow();
!     
!     public void setNotifyLow(boolean value);
!     
!     public boolean getDifferenceMode();
!     
!     public void setDifferenceMode(boolean value);
! }
  
--- 10,50 ----
  
  import javax.management.ObjectName;
+ 
  /**
   * @author <a href="mailto:[email protected]">Carlos Quiroz</a>
   * @version $Revision$
   */
! public interface GaugeMonitorMBean extends MonitorMBean
! {
!    /**
!     * @deprecated
!     */
!    public Number getDerivedGauge();
  
!    /**
!     * @deprecated
!     */
!    public long getDerivedGaugeTimeStamp();
  
!    public Number getDerivedGauge(ObjectName objectName);
! 
!    public long getDerivedGaugeTimeStamp(ObjectName objectName);
! 
!    public Number getHighThreshold();
  
+    public Number getLowThreshold();
+ 
+    public void setThresholds(Number highValue, Number lowValue) throws IllegalArgumentException;
+ 
+    public boolean getNotifyHigh();
+ 
+    public void setNotifyHigh(boolean value);
+ 
+    public boolean getNotifyLow();
+ 
+    public void setNotifyLow(boolean value);
+ 
+    public boolean getDifferenceMode();
+ 
+    public void setDifferenceMode(boolean value);
+ }



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click