|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.aselect.server.admin.SessionMonitorModel
public class SessionMonitorModel
SessionMonitorModel class used by the AdminMonitor.
Description:
This monitor contains all the information concerning the A-Select Sessions.
Concurrency issues:
None
Field Summary | |
---|---|
static java.lang.String |
MODULE
The module name. |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
SessionMonitorModel(int iCheckInterval)
SessionMonitorModel constructor. |
Method Summary | |
---|---|
int |
getColumnCount()
Returns the current column count. |
java.lang.String |
getColumnName(int iIndex)
Returns the name of the column based on iIndex. |
int |
getRowCount()
Returns the current row count. |
long |
getSessionsCounter()
Returns the session count. |
java.lang.Object |
getValueAt(int iRow,
int iColumn)
Returns the current value at a specific row and column. |
void |
run()
Main run function for the Runner Thread. |
void |
stop()
This functions stops the SessionMonitor. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MODULE
Constructor Detail |
---|
public SessionMonitorModel(int iCheckInterval)
iCheckInterval
- Interval used to check for new information.Method Detail |
---|
public void stop()
public long getSessionsCounter()
long
containing session count.public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
TableModel.getRowCount()
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
TableModel.getColumnCount()
public java.lang.Object getValueAt(int iRow, int iColumn)
getValueAt
in interface javax.swing.table.TableModel
TableModel.getValueAt(int, int)
public java.lang.String getColumnName(int iIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
TableModel.getColumnName(int)
public void run()
run
in interface java.lang.Runnable
Runnable.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |