|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the administrative interface to a set of SilverStream statistics ("counters"), containing performance-related data. An application can create a counter set as an efficient technique for retrieving a batch of (possibly unrelated) counter values. A statistics set is mutable -- individual statistics may be added to or deleted from the set as desired.
Field Summary | |
static long |
STAT_UNAVAILABLE
This value is returned in getValues for statistics which are not available for a particular element. |
Method Summary | |
void |
addStat(AgoAdmStatInfo stat)
Add a statistic to this set. |
AgoAdmStatInfo[] |
getStats()
Get information about all statistics maintained by this instance. |
long[] |
getValues()
Fetch the values of all the counters in the set. |
void |
removeStat(AgoAdmStatInfo stat)
Remove a statistic from the set. |
void |
setStats(AgoAdmStatInfo[] stats)
Set a group of statistics |
void |
toFile(File file)
Write statistics set to a file. |
void |
toStream(OutputStream out)
Write statistics set to an output stream. |
Field Detail |
public static final long STAT_UNAVAILABLE
Usage: getValues
Method Detail |
public void addStat(AgoAdmStatInfo stat)
public void removeStat(AgoAdmStatInfo stat)
public void setStats(AgoAdmStatInfo[] stats)
stats
- an array of AgoAdmStatInfo'spublic AgoAdmStatInfo[] getStats()
public void toStream(OutputStream out) throws AgoUnrecoverableSystemException, IOException
public void toFile(File file) throws AgoUnrecoverableSystemException, IOException
public long[] getValues() throws AgoUnrecoverableSystemException, AgoSecurityException
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |