coldbox.system.core.java

Class JVMUtils

WEB-INF.cftags.component
        extended by coldbox.system.core.java.JVMUtils
Class Attributes:
  • output : false
  •  
    Direct Known Subclasses:
    JVMUtils

    This is a JVM Utilities CFC

    Method Summary
    string getIPAddress()
         Get the ip address of the executing hostname machine.
    string getInetHost()
         Get the hostname of the executing machine.
    string getJVMFreeMemory()
         Returns the amount of free memory in the Java Virtual Machine.
    string getJVMMaxMemory()
         Returns the maximum amount of memory that the Java virtual machine will attempt to use.
    string getJVMTotalMemory()
         Returns the total amount of memory in the Java virtual machine.
    string getJavaRuntime()
         Get the java runtime version.
    string getJavaVersion()
         Get the java version.
    string getOSFileSeparator()
         Get the operating system's file separator character.
    string getOSName()
         Get the operating system's name.
    string getOSPathSeparator()
         Get the operating system's path separator character.
    numeric getProcessors()
         Returns the number of processors available to the Java virtual machine.
    void runGC()
         Runs the garbage collector.
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Method Detail

    getIPAddress

    public string getIPAddress()

    Get the ip address of the executing hostname machine.


    getInetHost

    public string getInetHost()

    Get the hostname of the executing machine.


    getJVMFreeMemory

    public string getJVMFreeMemory()

    Returns the amount of free memory in the Java Virtual Machine.


    getJVMMaxMemory

    public string getJVMMaxMemory()

    Returns the maximum amount of memory that the Java virtual machine will attempt to use..


    getJVMTotalMemory

    public string getJVMTotalMemory()

    Returns the total amount of memory in the Java virtual machine.


    getJavaRuntime

    public string getJavaRuntime()

    Get the java runtime version


    getJavaVersion

    public string getJavaVersion()

    Get the java version.


    getOSFileSeparator

    public string getOSFileSeparator()

    Get the operating system's file separator character


    getOSName

    public string getOSName()

    Get the operating system's name


    getOSPathSeparator

    public string getOSPathSeparator()

    Get the operating system's path separator character.


    getProcessors

    public numeric getProcessors()

    Returns the number of processors available to the Java virtual machine


    runGC

    public void runGC()

    Runs the garbage collector.