com.metamatrix.console.models
Class SummaryManager

java.lang.Object
  extended by com.metamatrix.console.models.Manager
      extended by com.metamatrix.console.models.TimedManager
          extended by com.metamatrix.console.models.SummaryManager
All Implemented Interfaces:
SummaryInfoProvider, java.awt.event.ActionListener, java.util.EventListener

public class SummaryManager
extends TimedManager
implements SummaryInfoProvider

Subclass of Manager to manage data for the 'Summary' tab (SummaryPanel).


Field Summary
 
Fields inherited from class com.metamatrix.console.models.TimedManager
DEFAULT_DELAY
 
Fields inherited from class com.metamatrix.console.models.Manager
MODEL_CHANGED, MODEL_STALE
 
Fields inherited from interface com.metamatrix.console.ui.views.summary.SummaryInfoProvider
GREEN, RED, YELLOW
 
Constructor Summary
SummaryManager(ConnectionInfo connection)
           
 
Method Summary
 int getActiveSessionCount()
           
 SummaryHostInfo[] getHostInfo()
           
 java.util.Collection getHosts()
           
 java.util.Date getLastSessionStartUp()
           
 java.lang.String getSystemName()
           
 java.util.Date getSystemStartUpTime()
           
 int getSystemState()
           
 java.lang.String getSystemURL()
           
 java.lang.String getSysURL()
           
 void init()
          Calls super.init() and also initializes timing behavior.
 
Methods inherited from class com.metamatrix.console.models.TimedManager
actionPerformed, getIsAutoRefreshEnabled, getRefreshRate, getTimer, isBusy, refresh, refresh, setBusy, setIsAutoRefreshEnabled, setRefreshRate, startTimer
 
Methods inherited from class com.metamatrix.console.models.Manager
addManagerListener, fireModelChangedEvent, fireModelChangedEvent, getConnection, getConnection, getEncryptor, getEventListeners, getIsStale, removeManagerListener, setIsStale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SummaryManager

public SummaryManager(ConnectionInfo connection)
Method Detail

init

public void init()
Description copied from class: TimedManager
Calls super.init() and also initializes timing behavior.

Overrides:
init in class TimedManager
See Also:
TimedManager.setRefreshRate(int)

getSysURL

public java.lang.String getSysURL()

getSystemName

public java.lang.String getSystemName()
                               throws java.lang.Exception
Specified by:
getSystemName in interface SummaryInfoProvider
Throws:
java.lang.Exception

getSystemURL

public java.lang.String getSystemURL()
                              throws java.lang.Exception
Specified by:
getSystemURL in interface SummaryInfoProvider
Throws:
java.lang.Exception

getSystemState

public int getSystemState()
                   throws java.lang.Exception
Specified by:
getSystemState in interface SummaryInfoProvider
Throws:
java.lang.Exception

getSystemStartUpTime

public java.util.Date getSystemStartUpTime()
                                    throws java.lang.Exception
Specified by:
getSystemStartUpTime in interface SummaryInfoProvider
Throws:
java.lang.Exception

getActiveSessionCount

public int getActiveSessionCount()
                          throws java.lang.Exception
Specified by:
getActiveSessionCount in interface SummaryInfoProvider
Throws:
java.lang.Exception

getHostInfo

public SummaryHostInfo[] getHostInfo()
                              throws java.lang.Exception
Specified by:
getHostInfo in interface SummaryInfoProvider
Throws:
java.lang.Exception

getHosts

public java.util.Collection getHosts()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getLastSessionStartUp

public java.util.Date getLastSessionStartUp()
                                     throws java.lang.Exception
Specified by:
getLastSessionStartUp in interface SummaryInfoProvider
Throws:
java.lang.Exception


Copyright © 2009. All Rights Reserved.