public class ResourcesMBeanGroup extends Object
Constructor and Description |
---|
ResourcesMBeanGroup(Map<String,ResourceStatistics> resourceStatistics,
boolean uriResource,
MBeanExposer mBeanExposer,
String parentName)
Create a new group of MXBeans and expose nested Resource MXBeans.
|
Modifier and Type | Method and Description |
---|---|
void |
updateResourcesStatistics(Map<String,ResourceStatistics> resourceStatistics)
Update the resource statistics exposed by nested resource beans.
|
public ResourcesMBeanGroup(Map<String,ResourceStatistics> resourceStatistics, boolean uriResource, MBeanExposer mBeanExposer, String parentName)
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.public void updateResourcesStatistics(Map<String,ResourceStatistics> resourceStatistics)
resourceStatistics
- New resource statistics.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.