public class WindowMonitoringTimerTask extends MonitoringTimerTask
WindowMonitoringTimerTask
class allows to periodically watch
JMX attributes and send the corresponding values to the outpuStrean.Modifier and Type | Field and Description |
---|---|
(package private) JTextField |
addMbeanField |
(package private) JTextField |
attField |
(package private) JTextField |
delMbeanField |
(package private) Graphics |
graph |
(package private) StringBuffer |
strbuf |
(package private) JTextArea |
textArea |
attlist, logger, MBean_name, period
Constructor and Description |
---|
WindowMonitoringTimerTask()
Instantiates the
WindowMonitoringTimerTask component. |
Modifier and Type | Method and Description |
---|---|
protected void |
addRecord(String mbean,
String att,
Object value)
Records information about the specified attribute.
|
protected void |
finalizeRecords()
Finalize the record for the current time.
|
protected void |
GUI(String title,
int x,
int y)
Create window for print monitoring results
|
void |
init(Timer timer,
long period,
Properties attlist,
Properties taskProps)
Initializes the
WindowMonitoringTimerTask component. |
protected void |
initializeRecords()
Initialize the record for the current collect time.
|
addMonitoredAttributes, cancelTask, delMonitoredAttributes, getMonitoredAttributes, getPeriod, run, start
cancel, scheduledExecutionTime
StringBuffer strbuf
JTextArea textArea
JTextField attField
JTextField addMbeanField
JTextField delMbeanField
Graphics graph
public WindowMonitoringTimerTask()
WindowMonitoringTimerTask
component.public void init(Timer timer, long period, Properties attlist, Properties taskProps)
WindowMonitoringTimerTask
component.init
in class MonitoringTimerTask
protected void initializeRecords()
initializeRecords
in class MonitoringTimerTask
MonitoringTimerTask.initializeRecords()
protected void addRecord(String mbean, String att, Object value)
addRecord
in class MonitoringTimerTask
mbean
- The name of the related mbean.att
- The name of the related attribute.value
- The value of the related attribute.fr.dyade.aaa.common.monitoring.MonitoringTimerTask#addRecord(javax.management.ObjectName,
java.lang.String, java.lang.Object)
protected void finalizeRecords()
finalizeRecords
in class MonitoringTimerTask
MonitoringTimerTask.finalizeRecords()
protected void GUI(String title, int x, int y)
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.