javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
public interface ResourceRuntimeMBean extends RuntimeMBean
The ResourceRuntimeMBean
holds runtime state about the policy
evaluations that have been performed for a Resource type in the current
Domain Partition in the current server instance.
Modifier and Type | Interface | Description |
---|---|---|
static class |
ResourceRuntimeMBean.ResourceType |
The resource types for which Resource Consumption Management
policies can be created by a system administrator in a Domain
Partition.
|
Modifier and Type | Method | Description |
---|---|---|
FairShareConstraintRuntimeMBean |
getFairShareConstraintRuntime() |
The runtime state of the Fair Share Policy configured as part of the Resource
Consumption Management policy of the current Domain Partition, in the
current Server instance.
|
java.lang.String |
getName() |
The name of the policy defined for this resource as configured in the
ResourceManagerMBean for this MBean's resource type
getResourceType() . |
java.lang.String |
getResourceType() |
The resource type associated with this MBean.
|
TriggerRuntimeMBean[] |
getTriggerRuntimes() |
The runtime state of the Triggers configured as part of the Resource
Consumption Management policy of the current Domain Partition, in the
current Server instance.
|
long |
getUsage() |
The current resource utilization of a Resource by the current
Domain Partition, in the current Server instance.
|
TriggerRuntimeMBean |
lookupTriggerRuntime​(java.lang.String name) |
Looks up a trigger runtime state from the list of triggers configured in
Resource Consumption Management policy of the current Domain Partition.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
java.lang.String getName()
ResourceManagerMBean
for this MBean's resource type
getResourceType()
.getName
in interface WebLogicMBean
ResourceManagerMBean
for this resource type.java.lang.String getResourceType()
long getUsage()
To track or monitor resource consumption for a Domain Partition
without creating resource consumption management policies, see PartitionResourceMetricsRuntimeMBean
.
ResourceRuntimeMBean.ResourceType
for
information on the name of the name of the unit in which the
resource consumption is measured, such as unit
, percentage
,
or byte
.PartitionResourceMetricsRuntimeMBean
TriggerRuntimeMBean[] getTriggerRuntimes()
TriggerRuntimeMBean
representing the runtime
state of the Triggers defined as part of the Resource Consumption
Management policy of the current Domain Partition.TriggerRuntimeMBean
TriggerRuntimeMBean lookupTriggerRuntime​(java.lang.String name)
name
- Name of the trigger whose runtime state is required.FairShareConstraintRuntimeMBean getFairShareConstraintRuntime()
FairShareConstraintRuntimeMBean