SilverStream
Application Server 3.5

com.sssw.rts.adminapi
Interface AgiAdmStatElement

All Superinterfaces:
AgiAdmElementBase
All Known Subinterfaces:
AgiAdmStatContainer

public interface AgiAdmStatElement
extends AgiAdmElementBase

Implemented by objects that represent entities that reside on the server for which statistical information may be gathered and presented.

See Also:
AgiAdmElementBase, AgiAdmStatContainer

Field Summary
static String EJB_HOME
          The element type for the 'EJB Home' statistic element.
static String OBJECT
          The element type for the 'application (business) object' statistic element.
static String SESSION
          The element type for the 'session' statistic element.
static String THREAD
          The element type for the 'thread' statistic element.
 
Method Summary
 String getPath()
          Get the path of this statistic element.
 int getStatCount()
          Get the number of counters in the group
 AgoAdmStatInfo getStatInfo(int index)
          Return an AgoAdmStatInfo object by a given index
 AgoAdmStatInfo getStatInfo(String statName)
          Return an AgoAdmStatInfo object by a given statistic name
 AgoAdmStatInfo[] getStatInfos()
          Return an array of all the AgoAdmStatInfo's for this instance.
 AgoAdmStatInfo[] getStatInfos(String[] statNames)
          Given an array of statistic names, return an array of AgoAdmStatInfo's each of which corresponds to a statistic name; a member of the returned array is null if the statistic is not available.
 
Methods implemented from interface com.sssw.rts.adminapi.AgiAdmElementBase
delete, getName, getType
 

Field Detail

SESSION

public static final String SESSION
The element type for the 'session' statistic element.

Usage: getType, getStatElement


THREAD

public static final String THREAD
The element type for the 'thread' statistic element.

Usage: getType, getStatElement


EJB_HOME

public static final String EJB_HOME
The element type for the 'EJB Home' statistic element.

Usage: getType, getStatElement


OBJECT

public static final String OBJECT
The element type for the 'application (business) object' statistic element.

Usage: getType, getStatElement

Method Detail

getPath

public String getPath()
Get the path of this statistic element.

getStatCount

public int getStatCount()
Get the number of counters in the group

getStatInfos

public AgoAdmStatInfo[] getStatInfos()
                              throws AgoUnrecoverableSystemException,
                                     AgoSecurityException
Return an array of all the AgoAdmStatInfo's for this instance.

getStatInfos

public AgoAdmStatInfo[] getStatInfos(String[] statNames)
                              throws AgoUnrecoverableSystemException,
                                     AgoSecurityException
Given an array of statistic names, return an array of AgoAdmStatInfo's each of which corresponds to a statistic name; a member of the returned array is null if the statistic is not available.
Parameters:
statNames - the names of statistics
Returns:
array of AgoAdmStatInfos

getStatInfo

public AgoAdmStatInfo getStatInfo(String statName)
                           throws AgoUnrecoverableSystemException,
                                  AgoSecurityException
Return an AgoAdmStatInfo object by a given statistic name
Parameters:
statName - the name of the statistic

getStatInfo

public AgoAdmStatInfo getStatInfo(int index)
                           throws AgoUnrecoverableSystemException,
                                  AgoSecurityException
Return an AgoAdmStatInfo object by a given index
Parameters:
index - the index number for the statistic

SilverStream
Application Server 3.5