public interface ResourceManagerRuntimeMBean extends RuntimeMBean
ResourceManagerRuntimeMBean holds runtime information about a
Resource Manager that has been assigned to the current Domain Partition.
The ResourceManagerRuntimeMBean is used for retrieving the runtime
state (information about policy evaluation, current resource usage, recourse
actions executed) of configured resource management policies established for
the current Partition by a system administrator in the current server instance.ResourceManagerMBean| Modifier and Type | Method and Description |
|---|---|
boolean |
addResourceRuntime(ResourceRuntimeMBean bean)
Adds a resource runtime MBean as child to the
ResourceManagerRuntimeMBean for the current Partition in the
current server instance. |
ResourceRuntimeMBean[] |
getResourceRuntimes()
The list of resource runtimes managed for the current Partition in the
current server instance.
|
ResourceRuntimeMBean |
lookupResourceRuntime(String name)
Looks up a
ResourceRuntimeMBean among the list of resource runtimes
managed for the current Partition with the given name. |
ResourceRuntimeMBean |
lookupResourceRuntimeByResourceType(ResourceRuntimeMBean.ResourceType resourceType)
Looks up a
ResourceRuntimeMBean among the list of resource runtimes
managed for the current Partition with the given resource type. |
boolean |
removeResourceRuntime(ResourceRuntimeMBean bean)
Removes the specified resource runtime MBean from the
ResourceManagerRuntimeMBean of the current Partition in the current
server instance. |
addPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListenerResourceRuntimeMBean[] getResourceRuntimes()
ResourceRuntimeMBeans
corresponding to the resources tracked and managed for the current
Domain Partition. The returned list corresponds to the list of
resource types for which policies have been established through the
ResourceManager.ResourceRuntimeMBean lookupResourceRuntime(String name)
ResourceRuntimeMBean among the list of resource runtimes
managed for the current Partition with the given name.name - The name of the resource runtime. Refer the ResourceManager
configuration associated with the current Partition, to obtain the
name of the policy assigned to the desired resource type.ResourceRuntimeMBean lookupResourceRuntimeByResourceType(ResourceRuntimeMBean.ResourceType resourceType)
ResourceRuntimeMBean among the list of resource runtimes
managed for the current Partition with the given resource type.resourceType - The resource type for which the resource runtime is
requested.ResourceRuntimeMBean.ResourceTypeboolean addResourceRuntime(ResourceRuntimeMBean bean)
ResourceManagerRuntimeMBean for the current Partition in the
current server instance.bean - The ResourceRuntimeMBean to be added to the
ResourceManagerRuntimeMBean.boolean removeResourceRuntime(ResourceRuntimeMBean bean)
ResourceManagerRuntimeMBean of the current Partition in the current
server instance.bean - The ResourceRuntimeMBean to be removed from the
ResourceManagerRuntimeMBean.