[jboss-jira] [JBoss JIRA] Resolved: (JBAS-4394) Gathering runtime statistics for a ManagedComponent
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Wed Dec 19 01:41:43 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-4394?page=all ]
Scott M Stark resolved JBAS-4394.
---------------------------------
Fix Version/s: JBossAS-5.0.0.Beta3
Resolution: Done
Stats are ManagedPropertys marked with a ManagementProperty annotation with a ViewUse.STATISTIC type:
for(ManagedProperty prop : props.values())
{
Map<String, Annotation> annotations = prop.getAnnotations();
if(annotations == null)
continue;
ManagementProperty mpa = (ManagementProperty) annotations.get(ManagementProperty.class.getName());
ViewUse[] uses = mpa.use();
for(ViewUse use : uses)
{
if(use == ViewUse.STATISTIC)
{
sawStats = true;
log.info("STATISTIC: "+prop);
}
}
}
> Gathering runtime statistics for a ManagedComponent
> ---------------------------------------------------
>
> Key: JBAS-4394
> URL: http://jira.jboss.com/jira/browse/JBAS-4394
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: ProfileService
> Reporter: Mark Spritzler
> Assigned To: Scott M Stark
> Fix For: JBossAS-5.0.0.Beta3
>
>
> When monitoring a running AS 5 customers would want to see some runtime statistics like
> For Connection Pools,
> How many Connections are available(availableConnectionCount)
> maxConnectionsInUse
> Number of Connections in use(inUseConnectionCount) etc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list