public static enum ResourceRuntimeMBean.ResourceType extends Enum<ResourceRuntimeMBean.ResourceType>
Policies for a Domain Partition are configured through the
weblogic.management.configuration.ResourceManagerMBean
.
ResourceManagerMBean
Enum Constant and Description |
---|
CPUUTILIZATION
The
CPUUTILIZATION resource type tracks the percentage of
CPU time utilized by a Domain Partition with respect to the
available CPU time to the Server runtime. |
FILEOPEN
The
FILEOPEN resource type governs the number of open files. |
HEAPRETAINED
The
HEAPRETAINED resource type tracks the amount of Heap memory retained
(in use) by the Partition. |
Modifier and Type | Method and Description |
---|---|
static ResourceRuntimeMBean.ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceRuntimeMBean.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceRuntimeMBean.ResourceType FILEOPEN
FILEOPEN
resource type governs the number of open files. This
includes files that have been opened through java.io
(such as
FileInputStream, FileOutputStream, RandomAccessFile
) and
java.nio
(NIO file channels) APIs.
Policies for the FILEOPEN
resource are configured through the
weblogic.management.configuration.FileOpenMBean
.
Consumption of this resource is tracked based on the number of units (Open Files) consumed by the Domain Partition.
FileOpenMBean
public static final ResourceRuntimeMBean.ResourceType CPUUTILIZATION
CPUUTILIZATION
resource type tracks the percentage of
CPU time utilized by a Domain Partition with respect to the
available CPU time to the Server runtime.
Policies for the CPUUTILIZATION
resource are configured through the
weblogic.management.configuration.CpuUtilizationMBean
.
Consumption of this resource is tracked as a percentage of CPU time utilized (range: [0-100%]).
CpuUtilizationMBean
public static final ResourceRuntimeMBean.ResourceType HEAPRETAINED
HEAPRETAINED
resource type tracks the amount of Heap memory retained
(in use) by the Partition.
Policies for the HEAPRETAINED
resource are configured through the
weblogic.management.configuration.HeapRetainedMBean
.
Consumption of this resource is tracked based on the number of bytes of Heap memory retained by the Domain Partition.
HeapRetainedMBean
public static ResourceRuntimeMBean.ResourceType[] values()
for (ResourceRuntimeMBean.ResourceType c : ResourceRuntimeMBean.ResourceType.values()) System.out.println(c);
public static ResourceRuntimeMBean.ResourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null