Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.runtime
Interface ResourceRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, 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.

Since:
12.2.1.0

Nested Class Summary
static class ResourceRuntimeMBean.ResourceType
          The resource types for which Resource Consumption Management policies can be created by a system administrator in a Domain Partition.

 

Method Summary
abstract  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.
abstract  String getName()
          The name of the policy defined for this resource as configured in the ResourceManagerMBean for this MBean's resource type ResourceRuntimeMBean.getResourceType().
abstract  String getResourceType()
          The resource type associated with this MBean.
abstract  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.
abstract  long getUsage()
          The current resource utilization of a Resource by the current Domain Partition, in the current Server instance.
abstract  TriggerRuntimeMBean lookupTriggerRuntime(String name)
          Looks up a trigger runtime state from the list of triggers configured in Resource Consumption Management policy of the current Domain Partition.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

getName

String getName()
The name of the policy defined for this resource as configured in the ResourceManagerMBean for this MBean's resource type ResourceRuntimeMBean.getResourceType().
Specified by:
getName in interface WebLogicMBean
Returns:
The name of the resource policy as configured in the ResourceManagerMBean for this resource type.

getResourceType

String getResourceType()
The resource type associated with this MBean.
Returns:
The type of the resource this MBean represents.

getUsage

long getUsage()
The current resource utilization of a Resource by the current Domain Partition, in the current Server instance.

To track or monitor resource consumption for a Domain Partition without creating resource consumption management policies, see PartitionResourceMetricsRuntimeMBean.

Returns:
The number of units of resource that has been consumed by the current domain Partition in the current Server instance. See the enumeration elements at 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.
See Also:
PartitionResourceMetricsRuntimeMBean

getTriggerRuntimes

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.
Returns:
An array of TriggerRuntimeMBean representing the runtime state of the Triggers defined as part of the Resource Consumption Management policy of the current Domain Partition.
See Also:
TriggerRuntimeMBean

lookupTriggerRuntime

TriggerRuntimeMBean lookupTriggerRuntime(String name)
Looks up a trigger runtime state from the list of triggers configured in Resource Consumption Management policy of the current Domain Partition.
Parameters:
name - Name of the trigger whose runtime state is required.

getFairShareConstraintRuntime

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.
See Also:
FairShareConstraintRuntimeMBean

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09