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 JVMRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean
All Known Subinterfaces:
JRockitRuntimeMBean

public interface JVMRuntimeMBean
extends RuntimeMBean

Provides methods for retrieving information about the Java Virtual Machine (JVM) within with the current server instance is running. You cannot change the JVM's operating parameters while the JVM is active. Instead, use the startup options that are described in the JVM's documentation.

The WebLogic JVM contains only one of these Runtime MBeans:


Method Summary
abstract  long getHeapFreeCurrent()
          The current amount of memory (in bytes) that is available in the JVM heap.
abstract  int getHeapFreePercent()
          Percentage of the maximum memory that is free.
abstract  long getHeapSizeCurrent()
          The current size (in bytes) of the JVM heap.
abstract  long getHeapSizeMax()
          The maximum free memory configured for this JVM.
abstract  String getJavaVendor()
          Returns the vendor of Java.
abstract  String getJavaVersion()
          The Java version of the JVM.
abstract  String getJavaVMVendor()
          Returns the vendor of the JVM.
abstract  String getOSName()
          Returns the operating system on which the JVM is running.
abstract  String getOSVersion()
          The version of the operating system on which the JVM is running.
abstract  String getThreadStackDump()
          JVM thread dump.
abstract  long getUptime()
          The number of milliseconds that the Virtual Machine has been running.

 

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

getHeapFreeCurrent

long getHeapFreeCurrent()

The current amount of memory (in bytes) that is available in the JVM heap.

Returns:
The heapFreeCurrent value

getHeapSizeCurrent

long getHeapSizeCurrent()

The current size (in bytes) of the JVM heap.

Returns:
The heapSizeCurrent value

getHeapSizeMax

long getHeapSizeMax()

The maximum free memory configured for this JVM.


getHeapFreePercent

int getHeapFreePercent()

Percentage of the maximum memory that is free.


getJavaVersion

String getJavaVersion()

The Java version of the JVM.

Returns:
The javaVersion value

getJavaVendor

String getJavaVendor()

Returns the vendor of Java.

The vendor of Java that this server runs.

Returns:
The javaVendor value

getJavaVMVendor

String getJavaVMVendor()

Returns the vendor of the JVM.

The vendor of the JVM that this server runs.

system property java.vm.vendor is returned

getOSName

String getOSName()

Returns the operating system on which the JVM is running.

The operating system on which the JVM is running.

Returns:
The oSName value

getOSVersion

String getOSVersion()

The version of the operating system on which the JVM is running.

Returns:
The oSVersion value

getThreadStackDump

String getThreadStackDump()

JVM thread dump. Thread dump is available only on 1.5 VM

Returns:
Formatted thread dump string

getUptime

long getUptime()

The number of milliseconds that the Virtual Machine has been running.

Returns:
The uptime (in milliseconds) of the VM.

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