class MemoryUsageDemo.DataGenerator extends Timer implements ActionListener
listenerList
Constructor and Description |
---|
DataGenerator(int interval)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event)
Adds a new free/total memory reading to the dataset.
|
addActionListener, fireActionPerformed, getActionCommand, getActionListeners, getDelay, getInitialDelay, getListeners, getLogTimers, isCoalesce, isRepeats, isRunning, removeActionListener, restart, setActionCommand, setCoalesce, setDelay, setInitialDelay, setLogTimers, setRepeats, start, stop
DataGenerator(int interval)
interval
- the interval (in milliseconds)public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
event
- the action event.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses