com.adventnet.services.monitor
Interface TableMonitorMBean

All Superinterfaces:
javax.management.monitor.MonitorMBean
All Known Implementing Classes:
TableMonitor

public interface TableMonitorMBean
extends javax.management.monitor.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

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

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


getObservedColumnType

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


setThresholds

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

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


getHighThreshold

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