1 7 8 package javax.management.monitor; 9 10 import javax.management.ObjectName ; 13 14 22 public interface MonitorMBean { 23 24 27 public void start(); 28 29 32 public void stop(); 33 34 37 45 public void addObservedObject(ObjectName object) throws java.lang.IllegalArgumentException ; 46 47 54 public void removeObservedObject(ObjectName object); 55 56 64 public boolean containsObservedObject(ObjectName object); 65 66 73 public ObjectName [] getObservedObjects(); 74 75 84 @Deprecated 85 public ObjectName getObservedObject(); 86 87 96 @Deprecated 97 public void setObservedObject(ObjectName object); 98 99 106 public String getObservedAttribute(); 107 108 115 public void setObservedAttribute(String attribute); 116 117 124 public long getGranularityPeriod(); 125 126 135 public void setGranularityPeriod(long period) throws java.lang.IllegalArgumentException ; 136 137 144 public boolean isActive(); 145 } 146 | Popular Tags |