|
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 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceManagerMBean
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:
FileOpenMBean
HeapRetainedMBean
CpuUtilizationMBean
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 |
---|
FileOpenMBean getFileOpen()
FileOpenMBean createFileOpen(String name)
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.name
- the name of the Policy to be createdFileOpenMBean
that represents the "File Open" policy for this resource manager.void destroyFileOpen(FileOpenMBean fileOpenMBean)
fileOpenMBean
- The FileOpenMBean to be removed from the resource manager.HeapRetainedMBean getHeapRetained()
HeapRetainedMBean createHeapRetained(String name)
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.name
- the name of the Policy to be createdHeapRetainedMBean
that represents the "Heap Retained" policy for this resource manager.void destroyHeapRetained(HeapRetainedMBean heapRetainedMBean)
heapRetainedMBean
- The HeapRetainedMBean to be removed from the resource manager.CpuUtilizationMBean getCpuUtilization()
CpuUtilizationMBean createCpuUtilization(String name)
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.name
- the name of the Policy to be createdCpuUtilizationMBean
that represents the "CPU Utilization" policy for this resource manager.void destroyCpuUtilization(CpuUtilizationMBean cpuUtilizationMBean)
cpuUtilizationMBean
- The CpuUtilizationMBean to be removed from the resource manager.
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |