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 PartitionResourceMetricsRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface PartitionResourceMetricsRuntimeMBean
extends RuntimeMBean

The runtime MBean interface for partition specific resource consumption metrics. The resource meters are added lazily for a partition. Therefore, the first time these metrics are queried, it might return zero values. Subsequent gets would return non-zero values based on the resource consumption. These metrics are applicable in the context of a partition since either server start or partition creation/restart, whichever was later.


Method Summary
abstract  long getAllocatedMemory()
          Total allocated memory in bytes for the partition.
abstract  long getCpuTimeNanos()
          Total CPU time spent measured in nanoseconds in the context of a partition.
abstract  Long[][] getCpuUtilizationHistoricalData()
          Returns a snapshot of the historical data for CPU usage for the partition.
abstract  long getCurrentOpenFileCount()
          Number of files currently open in the context of a partition.
abstract  long getCurrentOpenFileDescriptorCount()
          Number of file descriptors currently open in the context of a partition.
abstract  long getCurrentOpenSocketCount()
          Number of sockets currently open in the context of a partition.
abstract  long getFileBytesRead()
          Total number of file bytes read in the context of a partition.
abstract  long getFileBytesWritten()
          Total number of file bytes written in the context of a partition.
abstract  long getNetworkBytesRead()
          Total number of bytes read from sockets for a partition.
abstract  long getNetworkBytesWritten()
          Total number of bytes written to sockets for a partition.
abstract  Long[][] getRetainedHeapHistoricalData()
          Returns a snapshot of the historical data for retained heap memory usage for the partition.
abstract  long getThreadCount()
          Number of threads currently assigned to the partition.
abstract  long getTotalOpenedFileCount()
          Total number of files opened in the context of a partition.
abstract  long getTotalOpenedFileDescriptorCount()
          Total number of file descriptors opened in the context of a partition.
abstract  long getTotalOpenedSocketCount()
          Total number of sockets opened in the context of a partition.
abstract  boolean isRCMMetricsDataAvailable()
          Checks whether RCM metrics data is available for this partition.

 

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

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, 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

isRCMMetricsDataAvailable

boolean isRCMMetricsDataAvailable()
Checks whether RCM metrics data is available for this partition.
Returns:

getCpuTimeNanos

long getCpuTimeNanos()
Total CPU time spent measured in nanoseconds in the context of a partition.
Returns:

getAllocatedMemory

long getAllocatedMemory()
Total allocated memory in bytes for the partition. This metric value increases monotonically over time, it never decreases. Retained memory should be used to get current net values.
Returns:
See Also:
which provides the values of the net memory usage over a period of time.

getThreadCount

long getThreadCount()
Number of threads currently assigned to the partition.

getTotalOpenedSocketCount

long getTotalOpenedSocketCount()
Total number of sockets opened in the context of a partition.
Returns:

getCurrentOpenSocketCount

long getCurrentOpenSocketCount()
Number of sockets currently open in the context of a partition.
Returns:

getNetworkBytesRead

long getNetworkBytesRead()
Total number of bytes read from sockets for a partition.
Returns:

getNetworkBytesWritten

long getNetworkBytesWritten()
Total number of bytes written to sockets for a partition.
Returns:

getTotalOpenedFileCount

long getTotalOpenedFileCount()
Total number of files opened in the context of a partition.
Returns:

getCurrentOpenFileCount

long getCurrentOpenFileCount()
Number of files currently open in the context of a partition.
Returns:

getFileBytesRead

long getFileBytesRead()
Total number of file bytes read in the context of a partition.
Returns:

getFileBytesWritten

long getFileBytesWritten()
Total number of file bytes written in the context of a partition.
Returns:

getTotalOpenedFileDescriptorCount

long getTotalOpenedFileDescriptorCount()
Total number of file descriptors opened in the context of a partition.
Returns:

getCurrentOpenFileDescriptorCount

long getCurrentOpenFileDescriptorCount()
Number of file descriptors currently open in the context of a partition.
Returns:

getRetainedHeapHistoricalData

Long[][] getRetainedHeapHistoricalData()
Returns a snapshot of the historical data for retained heap memory usage for the partition. Data is returned as a two-dimensional array for the usage of retained heap scoped to the partition over time. Each item in the array contains a tuple of [timestamp (long), retainedHeap(long)] values.
Returns:

getCpuUtilizationHistoricalData

Long[][] getCpuUtilizationHistoricalData()
Returns a snapshot of the historical data for CPU usage for the partition. CPU Utilization percentage indicates the percentage of CPU utilized by a partition with respect to available CPU to Weblogic Server. Data is returned as a two-dimensional array for the CPU usage scoped to the partition over time. Each item in the array contains a tuple of [timestamp (long), cpuUsage(long)] values.
Returns:

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