com.adventnet.services.monitor
Interface TableMonitorMBean

All Known Implementing Classes:
TableMonitor

public interface TableMonitorMBean
extends MonitorMBean

This interface exposes the remote management interface of the table monitor MBean


Method Summary
 java.lang.Object getHighThreshold()
          Returns the high Threshold value
 java.lang.Object getLowThreshold()
          Returns the low Threshold value
 java.lang.String getObservedColumn()
          Returns the Observed Column
 java.lang.String getObservedColumnType()
          Returns the type of the observed column
 void setObservedColumn(java.lang.String columnName, java.lang.String type)
          Sets the column to be observed
 void setThresholds(java.lang.Object lowThreshold, java.lang.Object highThreshold)
          Sets the low and high threshold value
 
Methods inherited from interface javax.management.monitor.MonitorMBean
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
 

Method Detail

setObservedColumn

public void setObservedColumn(java.lang.String columnName,
                              java.lang.String type)
Sets the column to be observed
Parameters:
colName - The name of the column to be observed
typeName - The type of the column to be observed

getObservedColumn

public java.lang.String getObservedColumn()
Returns the Observed Column

getObservedColumnType

public java.lang.String getObservedColumnType()
Returns the type of the observed column

setThresholds

public void setThresholds(java.lang.Object lowThreshold,
                          java.lang.Object highThreshold)
Sets the low and high threshold value
Parameters:
lowThreshold - The low Threshold value to be set
highThreshold - The high Threshold value to be set

getLowThreshold

public java.lang.Object getLowThreshold()
Returns the low Threshold value

getHighThreshold

public java.lang.Object getHighThreshold()
Returns the high Threshold value