Jody Garnett ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae422bb7f-4808-47e3-837f-13db0e6681e3
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNjFkNDkzMWI2ODlhNDBhNzg1MmIxMjgyZWRkYjQwMDkiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10580?atlOrigin=eyJpIjoiNjFkNDkzMWI2ODlhNDBhNzg1MmIxMjgyZWRkYjQwMDkiLCJwIjoiaiJ9
 ) GEOS-10580 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10580?atlOrigin=eyJpIjoiNjFkNDkzMWI2ODlhNDBhNzg1MmIxMjgyZWRkYjQwMDkiLCJwIjoiaiJ9
 ) Server status summary improvements for locks, connections, resource cache ( 
https://osgeo-org.atlassian.net/browse/GEOS-10580?atlOrigin=eyJpIjoiNjFkNDkzMWI2ODlhNDBhNzg1MmIxMjgyZWRkYjQwMDkiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.21.0 Assignee: Jody Garnett ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae422bb7f-4808-47e3-837f-13db0e6681e3
 ) Components: Wicket UI Created: 07/Jul/22 9:16 PM Priority: Medium Reporter: 
Jody Garnett ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae422bb7f-4808-47e3-837f-13db0e6681e3
 )

It has been some time since I looked at the internals of the server status 
page, and I found a number of “easy” improvements could be made:

* formatting values to include units - so “threads” and “ms” do not appear in 
the description
* actually counting the locks
* counting all the connections, not only datastores
* checking resource pool to provide a number for resource cache (so you can see 
the results of clearing)

To make this change I modified values to be a *Map<String,Object>* so I could 
make use of StringResourceModel when formatting values.

Reference: 
https://nightlies.apache.org/wicket/guide/8.x/single.html#_stringresourcemodel

( 
https://osgeo-org.atlassian.net/browse/GEOS-10580#add-comment?atlOrigin=eyJpIjoiNjFkNDkzMWI2ODlhNDBhNzg1MmIxMjgyZWRkYjQwMDkiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10580#add-comment?atlOrigin=eyJpIjoiNjFkNDkzMWI2ODlhNDBhNzg1MmIxMjgyZWRkYjQwMDkiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201- 
sha1:8893fc8 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to