Class ResourcesMBeanGroup
java.lang.Object
org.glassfish.jersey.server.internal.monitoring.jmx.ResourcesMBeanGroup
Group of resource MXBeans.
- Author:
- Miroslav Fuksa
-
Constructor Summary
ConstructorDescriptionResourcesMBeanGroup
(Map<String, ResourceStatistics> resourceStatistics, boolean uriResource, MBeanExposer mBeanExposer, String parentName) Create a new group of MXBeans and expose nested Resource MXBeans. -
Method Summary
Modifier and TypeMethodDescriptionvoid
updateResourcesStatistics
(Map<String, ResourceStatistics> resourceStatistics) Update the resource statistics exposed by nested resource beans.
-
Constructor Details
-
ResourcesMBeanGroup
public ResourcesMBeanGroup(Map<String, ResourceStatistics> resourceStatistics, boolean uriResource, MBeanExposer mBeanExposer, String parentName) Create a new group of MXBeans and expose nested Resource MXBeans.- Parameters:
resourceStatistics
- Resource statistics that should be exposed by nested MXBeans.uriResource
-true
if the resources are identified by URI (and not by java class names for example).mBeanExposer
- mbean exposer.parentName
- Name of the parent bean.
-
-
Method Details
-
updateResourcesStatistics
Update the resource statistics exposed by nested resource beans.- Parameters:
resourceStatistics
- New resource statistics.
-