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.configuration
Interface ResourceManagerMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface ResourceManagerMBean
extends ConfigurationMBean

A ResourceManagerMBean represents a resource consumption management policy. A policy controls and governs the use of shared resources in a Server runtime, by a Partition that the policy is attached to. A resource manager holds information on constraints and recourse actions for different resources in a Server instance.

A system administrator defines a resource manager and configures child MBeans that represent particular combinations of shares and usage limits of various resources in the Server runtime.

The system administrator may then assign the resource manager to one or more Partitions to ensure fair allocation of shared resources to collocated Domain Partitions, and to ensure that one Partition doesn't exhaust shared resources (potentially affecting other collocated Partitions).

The set of resources on which resource management policies can be assigned to, and the child MBeans through which they can be configured are:

  1. File Open: FileOpenMBean
  2. Heap Retained: HeapRetainedMBean
  3. CPU Utilization: CpuUtilizationMBean
Since:
12.2.1.0

Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  CpuUtilizationMBean createCpuUtilization(String name)
          This is the factory method for creating "CPU Utilization" policy for this resource manager.
abstract  FileOpenMBean createFileOpen(String name)
          This is the factory method for creating "File Open" policy for this resource manager.
abstract  HeapRetainedMBean createHeapRetained(String name)
          This is the factory method for creating "Heap Retained" policy for this resource manager.
abstract  void destroyCpuUtilization(CpuUtilizationMBean cpuUtilizationMBean)
          Destroys and removes a "CPU Utilization" policy corresponding to the {code cpuUtilizationMBean} parameter, which is a child of this resource manager.
abstract  void destroyFileOpen(FileOpenMBean fileOpenMBean)
          Destroys and removes a "File Open" policy corresponding to the {code fileOpenMBean} parameter, which is a child of this resource manager.
abstract  void destroyHeapRetained(HeapRetainedMBean heapRetainedMBean)
          Destroys and removes a "Heap Retained" policy corresponding to the {code heapRetainedMBean} parameter, which is a child of this resource manager.
abstract  CpuUtilizationMBean getCpuUtilization()
          Gets the "CPU Utilization" policy for this resource manager.
abstract  FileOpenMBean getFileOpen()
          Gets the "File Open" policy for this resource manager.
abstract  HeapRetainedMBean getHeapRetained()
          Gets the "Heap Retained" policy for this resource manager.

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getFileOpen

FileOpenMBean getFileOpen()
Gets the "File Open" policy for this resource manager.
Returns:
The "File Open" policy for this resource manager

createFileOpen

FileOpenMBean createFileOpen(String name)
This is the factory method for creating "File Open" policy for this resource manager. The new FileOpenMBean which is created will have this resource manager as its parent and must be destroyed with the ResourceManagerMBean.destroyFileOpen(FileOpenMBean) method. The "File open" policy governs the number of open files. This includes files that have been opened through java.io ( FileInputStream, FileOutputStream, RandomAccessFile etc) and java.nio (NIO file channels) APIs.
Parameters:
name - the name of the Policy to be created
Returns:
A FileOpenMBean that represents the "File Open" policy for this resource manager.

destroyFileOpen

void destroyFileOpen(FileOpenMBean fileOpenMBean)
Destroys and removes a "File Open" policy corresponding to the {code fileOpenMBean} parameter, which is a child of this resource manager.
Parameters:
fileOpenMBean - The FileOpenMBean to be removed from the resource manager.

getHeapRetained

HeapRetainedMBean getHeapRetained()
Gets the "Heap Retained" policy for this resource manager.
Returns:
The "Heap Retained" policy for this resource manager

createHeapRetained

HeapRetainedMBean createHeapRetained(String name)
This is the factory method for creating "Heap Retained" policy for this resource manager. The new HeapRetainedMBean which is created will have this resource manager as its parent and must be destroyed with the ResourceManagerMBean.destroyHeapRetained(HeapRetainedMBean) method. The "Heap Retained" policy tracks the amount of Heap memory retained(in use) by the Partition.
Parameters:
name - the name of the Policy to be created
Returns:
A HeapRetainedMBean that represents the "Heap Retained" policy for this resource manager.

destroyHeapRetained

void destroyHeapRetained(HeapRetainedMBean heapRetainedMBean)
Destroys and removes a "Heap Retained" policy corresponding to the {code heapRetainedMBean} parameter, which is a child of this resource manager.
Parameters:
heapRetainedMBean - The HeapRetainedMBean to be removed from the resource manager.

getCpuUtilization

CpuUtilizationMBean getCpuUtilization()
Gets the "CPU Utilization" policy for this resource manager.
Returns:
The "CPU Utilization" policy for this resource manager

createCpuUtilization

CpuUtilizationMBean createCpuUtilization(String name)
This is the factory method for creating "CPU Utilization" policy for this resource manager. The new CpuUtilizationMBean which is created will have this resource manager as its parent and must be destroyed with the ResourceManagerMBean.destroyCpuUtilization(CpuUtilizationMBean) method. The "CPU Utilization" resource type tracks the percentage of CPU time utilized by a Domain Partition with respect to the available CPU time to the Server runtime.
Parameters:
name - the name of the Policy to be created
Returns:
A CpuUtilizationMBean that represents the "CPU Utilization" policy for this resource manager.

destroyCpuUtilization

void destroyCpuUtilization(CpuUtilizationMBean cpuUtilizationMBean)
Destroys and removes a "CPU Utilization" policy corresponding to the {code cpuUtilizationMBean} parameter, which is a child of this resource manager.
Parameters:
cpuUtilizationMBean - The CpuUtilizationMBean to be removed from the resource manager.

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