User: juhalindfors
  Date: 01/04/16 14:55:19

  Modified:    src/org/jboss/admin/monitor/event GraphModelEvent.java
                        GraphModelListener.java
  Log:
  initial cache monitoring + a bunch of other stuff
  
  Revision  Changes    Path
  1.2       +13 -0     admin/src/org/jboss/admin/monitor/event/GraphModelEvent.java
  
  Index: GraphModelEvent.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/admin/src/org/jboss/admin/monitor/event/GraphModelEvent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GraphModelEvent.java      2000/12/17 20:11:22     1.1
  +++ GraphModelEvent.java      2001/04/16 21:55:19     1.2
  @@ -12,6 +12,7 @@
   
       /* initialized in the constructor */
       private double value;
  +    private int target = GraphModelListener.PLOT_POINT;
       
       public GraphModelEvent(Object source, double value) {
           super(source);
  @@ -19,8 +20,20 @@
           this.value = value;
       }
   
  +    /*
  +     * @param target   target constant from GraphModelListener interface
  +     */
  +    public GraphModelEvent(Object source, double value, int target) {
  +        this(source, value);
  +        this.target = target;
  +    }
  +    
       public double getValue() {
           return value;
  +    }
  +    
  +    public int getTarget() {
  +        return target;
       }
       
   }
  
  
  
  1.2       +8 -1      admin/src/org/jboss/admin/monitor/event/GraphModelListener.java
  
  Index: GraphModelListener.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/admin/src/org/jboss/admin/monitor/event/GraphModelListener.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GraphModelListener.java   2000/12/17 20:11:22     1.1
  +++ GraphModelListener.java   2001/04/16 21:55:19     1.2
  @@ -11,7 +11,14 @@
    */
   public interface GraphModelListener extends EventListener {
   
  +    // Constants --------------------------
  +    final static int MAX_VERTICAL_LIMIT   =  0x1;
  +    final static int MIN_VERTICAL_LIMIT   =  0x2;
  +    final static int MAX_HORIZONTAL_LIMIT =  0x4;
  +    final static int MIN_HORIZONTAL_LIMIT =  0x8;
  +    final static int PLOT_POINT           =  0x1000;
  +    
       void valueAppended(GraphModelEvent evt);
   
  -
  +    void limitChanged(GraphModelEvent evt);
   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to