Class ResourcesMBeanGroup
java.lang.Object
org.glassfish.jersey.server.internal.monitoring.jmx.ResourcesMBeanGroup
Group of resource MXBeans.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,
ResourceMxBeanImpl> private final MBeanExposer
private final String
private final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionResourcesMBeanGroup
(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.
-
Field Details
-
exposedResourceMBeans
-
parentName
-
uriResource
private final boolean uriResource -
exposer
-
-
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.
-