I think that it may be to, but you may need to browse the mbeans to find the correct counter. Out of the box SAM has a glassfhsih JMX template so by looking at that you can see how theya re configured and see if you can get what you need. the url for it is here to show you what i can monitor out of the box:
https://documentation.solarwinds.com/en/Success_Center/SAM/Content/SAM-GlassFish--JMX--sw4786.htm